[vlc-commits] macosx package: copy the really correct symlinks for libvlc* into the package
David Fuhrmann
git at videolan.org
Wed May 6 19:38:56 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed May 6 19:31:31 2015 +0200| [5e0fd988cc4bdae005f62cabbb2789d68cd1197a] | committer: David Fuhrmann
macosx package: copy the really correct symlinks for libvlc* into the package
close #14560
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e0fd988cc4bdae005f62cabbb2789d68cd1197a
---
extras/package/macosx/build-package.sh | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/extras/package/macosx/build-package.sh b/extras/package/macosx/build-package.sh
index 517db1c..fe4a52a 100644
--- a/extras/package/macosx/build-package.sh
+++ b/extras/package/macosx/build-package.sh
@@ -250,11 +250,10 @@ done
# Build the lib folder
vlc_install "lib/${prefix}" "libvlc.*.dylib" "${target_lib}" "library"
vlc_install "src/${prefix}" "libvlccore.*.dylib" "${target_lib}" "library"
-pushd `pwd` > /dev/null
-cd ${target_lib}
-ln -sf libvlc.5.dylib libvlc.dylib
-ln -sf libvlccore.7.dylib libvlccore.dylib
-popd > /dev/null
+
+# copy symlinks
+cp -RP "lib/${prefix}/libvlc.dylib" "${target_lib}"
+cp -RP "src/${prefix}/libvlccore.dylib" "${target_lib}"
##########################
# Build the share folder
More information about the vlc-commits
mailing list