[vlc-commits] macOS packaging: Use pkgdatadir and pkglibdir for copying lua files

David Fuhrmann git at videolan.org
Sat Feb 3 17:56:20 CET 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Feb  3 17:55:37 2018 +0100| [96a4f271551800cce11af6318d7e490b9981c7b6] | committer: David Fuhrmann

macOS packaging: Use pkgdatadir and pkglibdir for copying lua files

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

 extras/package/macosx/package.mak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index c8ad0557f1..0b21cd9a2c 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -33,8 +33,8 @@ endif
 	mkdir -p $@/Contents/MacOS/share/
 if BUILD_LUA
 	## Copy lua scripts
-	cp -r "$(prefix)/share/vlc/lua" $@/Contents/MacOS/share/
-	cp -r "$(prefix)/lib/vlc/lua" $@/Contents/MacOS/
+	cp -r "$(pkgdatadir)/lua" $@/Contents/MacOS/share/
+	cp -r "$(pkglibdir)/lua" $@/Contents/MacOS/
 endif
 	## HRTFs
 	cp -r $(srcdir)/share/hrtfs $@/Contents/MacOS/share/



More information about the vlc-commits mailing list