[vlc-commits] macosx package: copy the really correct symlinks for libvlc* into the package

David Fuhrmann git at videolan.org
Wed May 6 20:29:39 CEST 2015


vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed May  6 19:31:31 2015 +0200| [ea8b7ef0ca88b9b5462e22db7aab40b7ce159957] | committer: David Fuhrmann

macosx package: copy the really correct symlinks for libvlc* into the package

close #14560

(cherry picked from commit 5e0fd988cc4bdae005f62cabbb2789d68cd1197a)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=ea8b7ef0ca88b9b5462e22db7aab40b7ce159957
---

 extras/package/macosx/build-package.sh |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/extras/package/macosx/build-package.sh b/extras/package/macosx/build-package.sh
index 077a3f9..fe4a52a 100644
--- a/extras/package/macosx/build-package.sh
+++ b/extras/package/macosx/build-package.sh
@@ -248,13 +248,12 @@ done
 
 ##########################
 # Build the lib folder
-vlc_install "lib/${prefix}" "libvlc.5.dylib" "${target_lib}" "library"
-vlc_install "src/${prefix}" "libvlccore.8.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
+vlc_install "lib/${prefix}" "libvlc.*.dylib" "${target_lib}" "library"
+vlc_install "src/${prefix}" "libvlccore.*.dylib" "${target_lib}" "library"
+
+# 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