Use LIBIDN2_LIBS instead of hardcoding

This commit is contained in:
Dagobert Michelsen 2018-04-27 16:23:30 +02:00
parent b7f5c1414d
commit c0c6f6f17c
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@ if WITH_LIBICU
libpsl_la_LDFLAGS += $(LIBICU_LIBS)
endif
if WITH_LIBIDN2
libpsl_la_LDFLAGS += -lidn2 -lunistring
libpsl_la_LDFLAGS += $(LIBIDN2_LIBS) -lunistring
endif
if WITH_LIBIDN
libpsl_la_LDFLAGS += -lidn -lunistring
libpsl_la_LDFLAGS += $(LIBIDN_LIBS) -lunistring
endif
# Build rule for suffix_dafsa.c