aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--am/grecs.m41
-rw-r--r--tests/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/am/grecs.m4 b/am/grecs.m4
index 60244a1..33a6809 100644
--- a/am/grecs.m4
+++ b/am/grecs.m4
@@ -204,6 +204,7 @@ AC_DEFUN([GRECS_SETUP],[
AC_SUBST([GRECS_README])
AC_SUBST([GRECS_INCLUDES],['-I$(top_srcdir)/]grecsdir[include] [-I$(top_builddir)/]grecsdir[include]')
AC_SUBST([GRECS_HOST_PROJECT_INCLUDES])
+ AC_SUBST([GRECS_HOST_PROJECT_LDADD])
AC_SUBST([GRECS_DISTDOC])
AC_SUBST([GRECS_INCLUDE_DIR],['$(pkgincludedir)'])
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 65f590a..292619d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -162,7 +162,7 @@ if GRECS_COND_JSON
noinst_PROGRAMS += json
endif
-LDADD = @GRECS_LDADD@ $(LIBINTL)
+LDADD = @GRECS_LDADD@ $(LIBINTL) @GRECS_HOST_PROJECT_LDADD@
AM_CPPFLAGS = @GRECS_INCLUDES@ @GRECS_HOST_PROJECT_INCLUDES@

Return to:

Send suggestions and report system problems to the System administrator.