mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
OSX Release Build R libs into Bundle
.. a script to copy the R dylibs to the app bundle and update the paths to the libs
This commit is contained in:
10
util/osx_bundle_fix.sh
Executable file
10
util/osx_bundle_fix.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
LOCAL_RLIBS=`otool -L GoldenCheetah.app/Contents/MacOS/GoldenCheetah | grep R.framework | awk '{ print $1}'`
|
||||
|
||||
for lib in $LOCAL_RLIBS
|
||||
do
|
||||
echo cp $lib GoldenCheetah.app/Contents/MacOS
|
||||
cp $lib GoldenCheetah.app/Contents/MacOS
|
||||
echo install_name_tool -change $lib "@executable_path/"`basename $lib` GoldenCheetah.app/Contents/MacOS/GoldenCheetah
|
||||
install_name_tool -change $lib "@executable_path/"`basename $lib` GoldenCheetah.app/Contents/MacOS/GoldenCheetah
|
||||
done
|
||||
Reference in New Issue
Block a user