Skip to content

Commit

Permalink
should be ok
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesDuvert committed Nov 16, 2023
1 parent 4c4da84 commit 95d61ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build_gdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,10 @@ function pack_gdl {
# 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
cp -pa $(brew --prefix)/lib/libcsirocsa*.dylib Frameworks
cp -pa $(brew --prefix)/lib/libqsastime*.dylib Frameworks

echo '<?xml version="1.0" encoding="UTF-8"?>' > Info.plist
echo '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' >> Info.plist
Expand Down

0 comments on commit 95d61ac

Please sign in to comment.