diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak index e3d78e1b509920a27cb2d38df7f8ee707f174984..d0eb07676029aed2360f4bb3f66f8008401fff68 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 \;