mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-27 06:35:28 +00:00
rpath fix for ffmpeg dylib
This commit is contained in:
parent
aa36dbb30b
commit
433283a6fa
@ -536,7 +536,7 @@ function patch_dylib_rpaths() {
|
||||
ln -s libavcodec-musikcube.59.dylib libavcodec-musikcube.dylib
|
||||
|
||||
install_name_tool -id "$RPATH/libswresample-musikcube.4.dylib" libswresample-musikcube.4.dylib
|
||||
install_name_tool -change "$FFMPEG_LIB_PATH/libavutil-musikcube.57.dylib" "$RPATH/libavutil-musikcube.57.dylib" libswresample-musikcube.4.dylib
|
||||
install_name_tool -change "$LIBDIR/libavutil-musikcube.57.dylib" "$RPATH/libavutil-musikcube.57.dylib" libswresample-musikcube.4.dylib
|
||||
rm libswresample-musikcube.dylib
|
||||
ln -s libswresample-musikcube.4.dylib libswresample-musikcube.dylib
|
||||
|
||||
|
@ -42,8 +42,11 @@ DIR="./dist/${VERSION}/musikcube_standalone_macos_${ARCH}_${VERSION}"
|
||||
ARCHIVE="./dist/${VERSION}/musikcube_standalone_macos_${ARCH}_${VERSION}.zip"
|
||||
|
||||
pushd $DIR
|
||||
codesign --force --timestamp --options=runtime --sign $CERT_ID musikcube
|
||||
codesign --force --timestamp --options=runtime --sign $CERT_ID musikcubed
|
||||
codesign --remove-signature musikcube musikcubed libmusikcore.dylib
|
||||
codesign --remove-signature lib/*.dylib
|
||||
codesign --remove-signature plugins/*.dylib
|
||||
|
||||
codesign --force --timestamp --options=runtime --sign $CERT_ID musikcube musikcubed
|
||||
codesign --force --timestamp --sign $CERT_ID libmusikcore.dylib
|
||||
codesign --force --timestamp --sign $CERT_ID lib/*.dylib
|
||||
codesign --force --timestamp --sign $CERT_ID plugins/*.dylib
|
||||
|
Loading…
x
Reference in New Issue
Block a user