[tests] t/test_mod needs -ldl on Debian

master
Glenn Strauss 1 year ago
parent c52ea837b5
commit 04d387e37f

@ -1085,6 +1085,7 @@ endif()
if(NOT BUILD_STATIC)
if(HAVE_LIBDL)
target_link_libraries(lighttpd dl)
target_link_libraries(test_mod dl)
endif()
endif()

@ -643,7 +643,7 @@ t_test_mod_SOURCES = $(common_src) t/test_mod.c \
t/test_mod_staticfile.c \
t/test_mod_userdir.c
t_test_mod_CFLAGS = $(AM_CFLAGS) $(LIBEV_CFLAGS)
t_test_mod_LDADD = $(LIBUNWIND_LIBS) $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB)
t_test_mod_LDADD = $(LIBUNWIND_LIBS) $(PCRE_LIB) $(CRYPTO_LIB) $(DL_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB)
noinst_HEADERS = $(hdr)
EXTRA_DIST = \

Loading…
Cancel
Save