Find native program with solana_ prefix

This commit is contained in:
Michael Vines 2018-10-30 13:12:48 -07:00
parent 8d16f69bb9
commit 7d44f60e45
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 1 deletions

View File

@ -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