diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 40d3d378c..0d5487b31 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -29,6 +29,10 @@ if PLUGIN_RUBY script_dir = scripts endif +if PLUGIN_LUA +script_dir = scripts +endif + SUBDIRS = $(script_dir) noinst_LIBRARIES = lib_weechat_plugins.a diff --git a/weechat/src/plugins/Makefile.am b/weechat/src/plugins/Makefile.am index 40d3d378c..0d5487b31 100644 --- a/weechat/src/plugins/Makefile.am +++ b/weechat/src/plugins/Makefile.am @@ -29,6 +29,10 @@ if PLUGIN_RUBY script_dir = scripts endif +if PLUGIN_LUA +script_dir = scripts +endif + SUBDIRS = $(script_dir) noinst_LIBRARIES = lib_weechat_plugins.a