Find native program with solana_ prefix
This commit is contained in:
parent
8d16f69bb9
commit
7d44f60e45
|
@ -20,7 +20,7 @@ if [[ ! -d $installDir ]]; then
|
|||
fi
|
||||
|
||||
for dir in "$SOLANA_ROOT"/programs/native/*; do
|
||||
for program in "$SOLANA_ROOT/target/$variant/deps/lib$(basename "$dir")".{so,dylib,dll}; do
|
||||
for program in echo "$SOLANA_ROOT"/target/"$variant"/deps/lib{,solana_}"$(basename "$dir")".{so,dylib,dll}; do
|
||||
if [[ -f $program ]]; then
|
||||
cp -v "$program" "$installDir"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue