]> git.sesse.net Git - vlc/commitdiff
Also if BUILD_LUA
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 13:03:51 +0000 (16:03 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 13:03:51 +0000 (16:03 +0300)
configure.ac
modules/misc/Modules.am
modules/misc/lua/Modules.am

index a18f8dc9ad70aef2044e4376980ac6ec9d7eccfa..a47a4b017e0a2e2f31cc0bb6a0f28500d293c4d5 100644 (file)
@@ -1766,7 +1766,6 @@ then
     ])
   if test "x${have_lua}" = "xyes" ;  then
      AC_DEFINE(HAVE_LUA, 1, [Define if you have the lua library])
-     VLC_ADD_PLUGIN([lua])
      VLC_ADD_LIBS([lua],[$LUA_LIBS])
      VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])
   fi
index 2cc97d3884d2c978b32b1ff820ac62b088b83c24..4cbd0136607417ebffe917f2aac092e520c8f5e0 100644 (file)
@@ -1,4 +1,10 @@
-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_gnome_main = gtk_main.c
 SOURCES_gtk2_main = gtk_main.c
index 36fabbb106f56ab2294608a9860f0889360960cd..c1b8780ec73f239af8cd92b6049d3d425358f9b1 100644 (file)
@@ -1 +1,3 @@
 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