Commit d4da0d58 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Also if BUILD_LUA

parent 48dd75b1
...@@ -1766,7 +1766,6 @@ then ...@@ -1766,7 +1766,6 @@ then
]) ])
if test "x${have_lua}" = "xyes" ; then if test "x${have_lua}" = "xyes" ; then
AC_DEFINE(HAVE_LUA, 1, [Define if you have the lua library]) AC_DEFINE(HAVE_LUA, 1, [Define if you have the lua library])
VLC_ADD_PLUGIN([lua])
VLC_ADD_LIBS([lua],[$LUA_LIBS]) VLC_ADD_LIBS([lua],[$LUA_LIBS])
VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS]) VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])
fi fi
......
SUBDIRS = dummy lua memcpy notify testsuite playlist osd xml probe SUBDIRS = dummy memcpy notify testsuite playlist osd xml probe
DIST_SUBDIRS = lua $(SUBDIRS)
if BUILD_LUA
SUBDIRS += lua
endif
SOURCES_gtk_main = gtk_main.c SOURCES_gtk_main = gtk_main.c
SOURCES_gnome_main = gtk_main.c SOURCES_gnome_main = gtk_main.c
SOURCES_gtk2_main = gtk_main.c SOURCES_gtk2_main = gtk_main.c
......
SOURCES_lua = playlist.c meta.c intf.c vlc.c vlc.h callbacks.c objects.c variables.c configuration.c net.c vlm.c httpd.c acl.c sd.c SOURCES_lua = playlist.c meta.c intf.c vlc.c vlc.h callbacks.c objects.c variables.c configuration.c net.c vlm.c httpd.c acl.c sd.c
libvlc_LTLIBRARIES += liblua_plugin.la
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment