Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesDuvert committed Nov 16, 2023
1 parent ba16768 commit 4c4da84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build_gdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,8 @@ function pack_gdl {
#GD: found the need to have @rpath libs changed to their fixed paths to insure copy_dylibs_recursive find and copy them (to export via a DMG)
# This seems more complicated to do inside copy_dylibs_recursive as it is, recursive.
for dylib in $(otool -l Resources/bin/gdl | grep @rpath | sed -e "s%name %%g;s%(.*)%%g" | xargs); do install_name_tool -change $dylib $(brew --prefix)/lib/`basename $dylib` Resources/bin/gdl; done
#add dependency of plplot.
for dylib in $(otool -l $(brew --prefix)/lib/libplplot.dylib | grep @rpath | sed -e "s%name %%g;s%(.*)%%g" | xargs); do install_name_tool -change $dylib $(brew --prefix)/lib/`basename $dylib` Resources/bin/gdl; done
found_dylibs=()
copy_dylibs_recursive Resources/bin/gdl @executable_path/../../Frameworks Frameworks

Expand Down

0 comments on commit 4c4da84

Please sign in to comment.