[vlc-commits] macOS packaging: Simplify copy rule for libvlc

David Fuhrmann git at videolan.org
Mon Apr 15 23:19:02 CEST 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Apr 14 13:37:29 2019 +0200| [c06bb4bbb10a84607f6fb582fc345c7a9917adbc] | committer: David Fuhrmann

macOS packaging: Simplify copy rule for libvlc

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

 extras/package/macosx/package.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index e3d78e1b50..d0eb076760 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -42,7 +42,7 @@ endif
 	-cp -a "$(prefix)/share/locale" $@/Contents/Resources/share/
 	printf "APPLVLC#" >| $@/Contents/PkgInfo
 	## Copy libs
-	find $(prefix)/lib -name 'libvlc*.dylib' -maxdepth 1 -exec cp -a {} $@/Contents/Frameworks \;
+	cp -a "$(libdir)"/libvlc*.dylib $@/Contents/Frameworks/
 	## Copy plugins
 	mkdir -p $@/Contents/Frameworks/plugins
 	find $(prefix)/lib/vlc/plugins -name 'lib*_plugin.dylib' -maxdepth 2 -exec cp -a {} $@/Contents/Frameworks/plugins \;



More information about the vlc-commits mailing list