diff options
| author | David Skoland <davidskoland@gmail.com> | 2019-01-06 21:50:05 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2019-01-06 21:50:05 +0100 |
| commit | f0069768a76293f00e26714a3c37d7f69e3ad4a5 (patch) | |
| tree | 41c5291ec187c76dea5b9c55f389186b6ee874a1 | |
| parent | 3965a847c211e3b1930a53dfe95f1136da781e88 (diff) | |
updated macos build script
| -rw-r--r-- | scripts/macos_post_build.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/scripts/macos_post_build.sh b/scripts/macos_post_build.sh index c37efdf9..d69da0b4 100644 --- a/scripts/macos_post_build.sh +++ b/scripts/macos_post_build.sh @@ -1,14 +1,16 @@ #!/bin/bash - + DST_FOLDER="./bin/Attorney_Online.app/Contents/Frameworks" - + cd .. - + mkdir $DST_FOLDER - + cp ./lib/libbass.dylib $DST_FOLDER cp ./lib/libbassopus.dylib $DST_FOLDER - + install_name_tool -id @executable_path/../Frameworks/libbass.dylib $DST_FOLDER/libbass.dylib - + +install_name_tool -id @executable_path/../Frameworks/libbassopus.dylib $DST_FOLDER/libbassopus.dylib + install_name_tool -change @loader_path/libbass.dylib @executable_path/../Frameworks/libbass.dylib ./bin/Attorney_Online.app/Contents/MacOS/Attorney_Online |
