Commit 1ff679ee authored by Tim Rühsen's avatar Tim Rühsen

Fix linking of libunistring

The fix allows to link libunistring with rpath, e.g. when installing an own version in /usr/local for testing, this will be linked to the fuzzers and linkers. Before this fix, the system installed version was linked.
parent 9b171c5e
......@@ -2,7 +2,7 @@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) -Wno-vla
AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/gl -I../gl -DSRCDIR=\"$(abs_srcdir)\" -DTEST_RUN
AM_LDFLAGS = -no-install
LDADD = ../lib/libidn2.la ../gl/libgnu.la
LDADD = ../lib/libidn2.la ../gl/libgnu.la $(LTLIBUNISTRING)
IDN_TESTS = \
libidn2_to_ascii_8z_fuzzer$(EXEEXT) \
......
......@@ -23,7 +23,7 @@ if !HAVE_LIBUNISTRING
AM_CPPFLAGS += -I$(top_srcdir)/unistring/ -I$(top_builddir)/unistring/
endif
LDADD = ../lib/libidn2.la ../gl/libgnu.la
LDADD = ../lib/libidn2.la ../gl/libgnu.la $(LTLIBUNISTRING)
if !HAVE_LIBUNISTRING
LDADD += ../unistring/libunistring.la
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment