diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 4730b8b..60a4057 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -50,3 +50,10 @@ AM_JS_LOG_FLAGS = \ $(NULL) LOG_COMPILER = gtester AM_LOG_FLAGS = -k --verbose + +# Use locally built versions of Endless-0.gir and libraries; this may need to be +# changed to AM_TESTS_ENVIRONMENT in a future version of Automake +TESTS_ENVIRONMENT = \ + export GI_TYPELIB_PATH="$(top_builddir)$${GI_TYPELIB_PATH:+:$$GI_TYPELIB_PATH}"; \ + export LD_LIBRARY_PATH="$(top_builddir)/.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH}"; \ + $(NULL) |