aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.inc')
-rw-r--r--test/Makefile.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.inc b/test/Makefile.inc
index e20a848b6..1eb6ed53a 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -1,7 +1,12 @@
include $(top_srcdir)/Makefile.inc
include $(top_srcdir)/platform/@with_platform@/Makefile.inc
LIB = $(top_builddir)/lib
-LDADD = $(LIB)/libodp.la
+
+#in the following line, the libs using the symbols should come before
+#the libs containing them! The includer is given a chance to add things
+#before libodp by setting PRE_LDADD before the inclusion.
+LDADD = $(PRE_LDADD) $(LIB)/libodp.la
+
INCFLAGS = -I$(srcdir) \
-I$(top_srcdir)/test \
-I$(top_srcdir)/platform/@with_platform@/include \