From 351b7328520c16730ceb46e5acae16038c42185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Feb 2021 18:24:19 +0100 Subject: New upstream version 1.0.32 --- frontend/Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'frontend/Makefile.am') diff --git a/frontend/Makefile.am b/frontend/Makefile.am index d27acf2..47c50f3 100644 --- a/frontend/Makefile.am +++ b/frontend/Makefile.am @@ -31,5 +31,18 @@ test_LDADD = ../lib/liblib.la ../backend/libsane.la tstbackend_SOURCES = tstbackend.c tstbackend_LDADD = ../lib/liblib.la ../backend/libsane.la +if preloadable_backends_enabled +if WITH_GENESYS_TESTS +## Because the genesys backend is implemented in C++, programs need +## to link against the standard C++ library. The work-around below +## will work for the GNU C++ compiler with the GNU standard library +## for C++. Other build scenarios may need work. +scanimage_LDADD += -lstdc++ +saned_LDADD += -lstdc++ +test_LDADD += -lstdc++ +tstbackend_LDADD += -lstdc++ +endif +endif + clean-local: rm -f test tstbackend -- cgit v1.2.3