Skip to content

Commit

Permalink
Fix dylib rpath
Browse files Browse the repository at this point in the history
  • Loading branch information
marchcat committed May 7, 2024
1 parent f451f01 commit 8668009
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ pushd "$top/openal-soft"

# create debug bundles
pushd "${stage}/lib/debug"
install_name_tool -id "@rpath/libopenal.dylib" "libopenal.dylib"
install_name_tool -id "@executable_path/../Resources/libopenal.dylib" "libopenal.dylib"
dsymutil libopenal.dylib
strip -x -S libopenal.dylib
popd

pushd "${stage}/lib/release"
install_name_tool -id "@rpath/libopenal.dylib" "libopenal.dylib"
install_name_tool -id "@executable_path/../Resources/libopenal.dylib" "libopenal.dylib"
dsymutil libopenal.dylib
strip -x -S libopenal.dylib
popd
Expand Down Expand Up @@ -563,13 +563,13 @@ pushd "$top/freealut"

# create debug bundles
pushd "${stage}/lib/debug"
install_name_tool -id "@rpath/libalut.dylib" "libalut.dylib"
install_name_tool -id "@executable_path/../Resources/libalut.dylib" "libalut.dylib"
dsymutil libalut.dylib
strip -x -S libalut.dylib
popd

pushd "${stage}/lib/release"
install_name_tool -id "@rpath/libalut.dylib" "libalut.dylib"
install_name_tool -id "@executable_path/../Resources/libalut.dylib" "libalut.dylib"
dsymutil libalut.dylib
strip -x -S libalut.dylib
popd
Expand Down

0 comments on commit 8668009

Please sign in to comment.