[vlc-commits] apple: bundle.sh: check that we have dylibs before copying them
Alexandre Janniaux
git at videolan.org
Sat Mar 13 13:06:30 UTC 2021
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Feb 23 18:30:22 2021 +0100| [6cd0570d97a50887207c48898ba9ccd91223797b] | committer: Alexandre Janniaux
apple: bundle.sh: check that we have dylibs before copying them
We don't want to copy dylibs if we built the test sample statically.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cd0570d97a50887207c48898ba9ccd91223797b
---
extras/package/apple/bundle.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extras/package/apple/bundle.sh b/extras/package/apple/bundle.sh
index e52761af82..80681beade 100755
--- a/extras/package/apple/bundle.sh
+++ b/extras/package/apple/bundle.sh
@@ -50,9 +50,11 @@ echo "APPL????" > "$APP/PkgInfo"
# Frameworks/ directory, but since it is only designed for development usage
# we can just put them there without further processing.
mkdir -p "$APP/Frameworks"
+if [ -f "${BUILD_DIR}/lib/.libs/libvlc.dylib" ]; then
cp "${BUILD_DIR}/lib/.libs/libvlc.dylib" "$APP/Frameworks"
cp "${BUILD_DIR}/src/.libs/libvlccore.dylib" "$APP/Frameworks"
find "${BUILD_DIR}/modules/.libs/" -name "*.dylib" -exec cp {} "$APP/Frameworks" \;
+fi
# Archive the bundle into a .ipa file.
zip -r "$IPA" Payload
More information about the vlc-commits
mailing list