Respecting user LDFLAGS http://bugs.gentoo.org/311989 --- module/recognizer/Makefile.am +++ module/recognizer/Makefile.am @@ -23,7 +23,7 @@ AM_CPPFLAGS = INCLUDES = $(TOMOE_CFLAGS) -LDFLAGS = \ +AM_LDFLAGS = \ -rpath $(recognizer_moduledir) -avoid-version -module \ -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS) --- module/dict/Makefile.am +++ module/dict/Makefile.am @@ -34,7 +34,7 @@ LIBADD = $(TOMOE_LIBS) \ $(top_builddir)/lib/libtomoe.la -LDFLAGS = \ +AM_LDFLAGS = \ -rpath $(dict_moduledir) -avoid-version -module \ -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)