[libpeas] Fix srcdir != builddir with Lua 5.1 plugin loader
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Fix srcdir != builddir with Lua 5.1 plugin loader
- Date: Wed, 19 Nov 2014 07:53:04 +0000 (UTC)
commit 68c0bbf7147d30c9635b779873595a18336d447c
Author: Garrett Regier <garrett regier riftio com>
Date: Tue Nov 18 23:50:54 2014 -0800
Fix srcdir != builddir with Lua 5.1 plugin loader
configure.ac | 2 +-
tests/libpeas/plugins/extension-lua/Makefile.am | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 298d4eb..42d9f5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -331,7 +331,7 @@ else
peas_save_CFLAGS="$CFLAGS"
peas_save_LIBS="$LIBS"
- CFLAGS="$PEAS_CFLAGS $LUA51_CFLAGS -Iloaders/lua5.1"
+ CFLAGS="$PEAS_CFLAGS $LUA51_CFLAGS -I${srcdir}/loaders/lua5.1"
LIBS="$PEAS_LIBS $LUA51_LIBS"
AC_TRY_RUN(peas_lgi_version_test(0),
found_lua51=yes,
diff --git a/tests/libpeas/plugins/extension-lua/Makefile.am b/tests/libpeas/plugins/extension-lua/Makefile.am
index 722ba7e..5d15e45 100644
--- a/tests/libpeas/plugins/extension-lua/Makefile.am
+++ b/tests/libpeas/plugins/extension-lua/Makefile.am
@@ -1,7 +1,8 @@
include $(top_srcdir)/tests/Makefile.plugin
-noinst_DATA = \
+noinst_PLUGIN = \
extension-lua51.gschema.xml \
extension-lua51.plugin \
extension-lua51.lua
+EXTRA_DIST = $(noinst_PLUGIN)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]