Browse Source

[tests] t/test_mod needs -ldl on Debian

master
Glenn Strauss 2 months ago
parent
commit
04d387e37f
  1. 1
      src/CMakeLists.txt
  2. 2
      src/Makefile.am

1
src/CMakeLists.txt

@ -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()

2
src/Makefile.am

@ -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