summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-10-25 12:00:16 +0200
committerChristian Grothoff <christian@grothoff.org>2018-10-25 12:01:28 +0200
commitb64879a11e2062b78e984b8e5c22dc26ba224668 (patch)
tree4aa89ec773918de3dca484b107c5822396298d89 /src
parent0a97ba60f4f09558b0c2a4b8d2c09e6ff7bfd112 (diff)
fix -lidn(2) linkage by adding missing AM_CONDITIONAL and missing endif statements
Diffstat (limited to 'src')
-rw-r--r--src/util/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 165d41d01..fc5a4648c 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -126,18 +126,25 @@ if HAVE_LIBIDN
LIBIDN= -lidn
else
LIBIDN=
+endif
if HAVE_LIBIDN2
LIBIDN2= -lidn2
else
LIBIDN2=
+endif
libgnunetutil_la_LIBADD = \
$(GCLIBADD) $(WINLIB) \
$(LIBGCRYPT_LIBS) \
$(LTLIBICONV) \
$(LTLIBINTL) \
- -lltdl $(LIBIDN) $(LIBIDN2) $(Z_LIBS) -lunistring $(XLIB) $(PTHREAD)
+ -lltdl \
+ $(LIBIDN) $(LIBIDN2) \
+ $(Z_LIBS) \
+ -lunistring \
+ $(XLIB) \
+ $(PTHREAD)
libgnunetutil_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) \