[vlc-commits] macosx: fix packaging if lua is not being build

Felix Paul Kühne git at videolan.org
Mon May 23 22:48:40 CEST 2016


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon May 23 22:48:34 2016 +0200| [b016524cdddba086758599881373d396d0c0f06f] | committer: Felix Paul Kühne

macosx: fix packaging if lua is not being build

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

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

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index a623c6b..df75617 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -52,7 +52,9 @@ if HAVE_SPARKLE
 	cp -R $(CONTRIB_DIR)/Sparkle.framework $@/Contents/Frameworks/
 endif
 	mkdir -p $@/Contents/MacOS/share/locale/
+if BUILD_LUA
 	cp -r "$(prefix)/lib/vlc/lua" "$(prefix)/share/vlc/lua" $@/Contents/MacOS/share/
+endif
 	mkdir -p $@/Contents/MacOS/include/
 	(cd "$(prefix)/include" && $(AMTAR) -c --exclude "plugins" vlc) | $(AMTAR) -x -C $@/Contents/MacOS/include/
 	$(INSTALL) -m 644 $(srcdir)/share/vlc512x512.png $@/Contents/MacOS/share/vlc512x512.png



More information about the vlc-commits mailing list