Qt: Fix test build with clang
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 24 May 2016 14:00:42 +0000 (16:00 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 24 May 2016 14:00:42 +0000 (16:00 +0200)
* lang/qt/tests/Makefile.am (LDADD): Explicitly add -lstdc++

--
g++ does not need that but clang does need it explicitly

lang/qt/tests/Makefile.am

index db40e77..c060c70 100644 (file)
@@ -32,7 +32,7 @@ AM_LDFLAGS = -no-install
 
 LDADD = ../../cpp/src/libgpgmepp.la ../src/libqgpgme.la \
         ../../../src/libgpgme.la @GPGME_QT_LIBS@ @GPG_ERROR_LIBS@ \
-        @GPGME_QTTEST_LIBS@
+        @GPGME_QTTEST_LIBS@ -lstdc++
 
 AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ \
               @GPGME_QT_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \