Fix link libraries for oss-fuzz static building

This commit is contained in:
Tim Rühsen 2017-07-15 12:31:53 +02:00
parent 4306c0cfc0
commit ecc3914172
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ if WITH_LIBICU
libpsl_icu_load_dafsa_fuzzer$(EXEEXT) libpsl_icu_load_dafsa_fuzzer$(EXEEXT)
else else
if WITH_LIBIDN2 if WITH_LIBIDN2
XLIBS = $(LIBIDN2_LIBS) XLIBS = -lidn2 -lunistring
XTYPE = _idn2 XTYPE = _idn2
libpsl_idn2_fuzzer_SOURCES = libpsl_fuzzer.c main.c fuzzer.h libpsl_idn2_fuzzer_SOURCES = libpsl_fuzzer.c main.c fuzzer.h
libpsl_idn2_load_fuzzer_SOURCES = libpsl_load_fuzzer.c main.c fuzzer.h libpsl_idn2_load_fuzzer_SOURCES = libpsl_load_fuzzer.c main.c fuzzer.h
@ -27,7 +27,7 @@ if WITH_LIBIDN2
libpsl_idn2_load_dafsa_fuzzer$(EXEEXT) libpsl_idn2_load_dafsa_fuzzer$(EXEEXT)
else else
if WITH_LIBIDN if WITH_LIBIDN
XLIBS = $(LIBIDN_LIBS) XLIBS = -lidn -lunistring
XTYPE = _idn XTYPE = _idn
libpsl_idn_fuzzer_SOURCES = libpsl_fuzzer.c main.c fuzzer.h libpsl_idn_fuzzer_SOURCES = libpsl_fuzzer.c main.c fuzzer.h
libpsl_idn_load_fuzzer_SOURCES = libpsl_load_fuzzer.c main.c fuzzer.h libpsl_idn_load_fuzzer_SOURCES = libpsl_load_fuzzer.c main.c fuzzer.h