summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pmt/src/lib/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/pmt/src/lib/Makefile.am b/pmt/src/lib/Makefile.am
index 837068c55..aa2cc514b 100644
--- a/pmt/src/lib/Makefile.am
+++ b/pmt/src/lib/Makefile.am
@@ -90,8 +90,11 @@ libpmt_qa_la_SOURCES = \
libpmt_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
# link the library against the c++ standard library
+# Note: Win32 libtool doesn't pull dependencies from the .la file
+# correctly, so we must add $(PMT_LIBS) below
libpmt_qa_la_LIBADD = \
libpmt.la \
+ $(PMT_LIBS) \
$(CPPUNIT_LIBS) \
-lstdc++