From c06bb4bbb10a84607f6fb582fc345c7a9917adbc Mon Sep 17 00:00:00 2001 From: David Fuhrmann <dfuhrmann@videolan.org> Date: Sun, 14 Apr 2019 13:37:29 +0200 Subject: [PATCH] macOS packaging: Simplify copy rule for libvlc --- 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 e3d78e1b5099..d0eb07676029 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 \; -- GitLab