fix shell script for installing DLLs on MSYS2
This commit is contained in:
parent
57dc5a5dc8
commit
41da2918aa
|
|
@ -13,7 +13,7 @@ fi
|
||||||
function dependencies_single_target_no_depth {
|
function dependencies_single_target_no_depth {
|
||||||
local TARGET=$1
|
local TARGET=$1
|
||||||
|
|
||||||
local DEPENDENCIESFILTER="| grep 'DLL Name' | sed -r 's/\s+DLL\s+Name\:\s+//' | xargs -i{} which {} | grep $MINGWDIR/bin"
|
local DEPENDENCIESFILTER="| grep -a 'DLL Name' | sed -r 's/\s+DLL\s+Name\:\s+//' | xargs -i{} which {} | grep -a $MINGWDIR/bin"
|
||||||
local COMMAND="objdump -x $TARGET $DEPENDENCIESFILTER | xargs -i{} echo {}"
|
local COMMAND="objdump -x $TARGET $DEPENDENCIESFILTER | xargs -i{} echo {}"
|
||||||
|
|
||||||
local DEPENDENCIES=`eval "$COMMAND"`
|
local DEPENDENCIES=`eval "$COMMAND"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user