diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-09-07 14:53:04 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-05-03 23:11:34 -0400 |
commit | c2540871fb1260388771feb244a6eceafd705443 (patch) | |
tree | 9d474cf7fa9704d2e499ff485ef00aa33367f428 /src/Makefile.am | |
parent | b86d4117be115bf1aa556130a823bdcd233bd726 (diff) | |
download | lighttpd-git-c2540871fb1260388771feb244a6eceafd705443.tar.gz |
[build] _WIN32 mingw build
use -lws2_32 instead of -lwsock32
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4ab4e3a4..8cefde69 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -109,7 +109,7 @@ lib_LTLIBRARIES += liblightcomp.la liblightcomp_la_SOURCES=$(common_src) liblightcomp_la_CFLAGS=$(AM_CFLAGS) $(LIBEV_CFLAGS) liblightcomp_la_LDFLAGS = $(common_ldflags) -liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) +liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) $(WS2_32_LIB) common_libadd = liblightcomp.la if !LIGHTTPD_STATIC common_src += mod_auth_api.c mod_vhostdb_api.c @@ -497,7 +497,7 @@ else ## default lighttpd server lighttpd_SOURCES = $(src) lighttpd_CPPFLAGS = $(FAM_CFLAGS) $(LIBEV_CFLAGS) -lighttpd_LDADD = $(PCRE_LIB) $(DL_LIB) $(SENDFILE_LIB) $(ATTR_LIB) $(common_libadd) $(CRYPTO_LIB) $(XXHASH_LIBS) $(FAM_LIBS) $(LIBEV_LIBS) $(LIBUNWIND_LIBS) +lighttpd_LDADD = $(common_libadd) $(PCRE_LIB) $(DL_LIB) $(SENDFILE_LIB) $(ATTR_LIB) $(CRYPTO_LIB) $(XXHASH_LIBS) $(FAM_LIBS) $(LIBEV_LIBS) $(LIBUNWIND_LIBS) $(WS2_32_LIB) lighttpd_LDFLAGS = -export-dynamic endif @@ -515,10 +515,10 @@ t_test_common_SOURCES = t/test_common.c \ fdlog.c \ sock_addr.c \ ck.c -t_test_common_LDADD = $(LIBUNWIND_LIBS) $(PCRE_LIB) +t_test_common_LDADD = $(LIBUNWIND_LIBS) $(PCRE_LIB) $(WS2_32_LIB) t_test_configfile_SOURCES = t/test_configfile.c buffer.c array.c data_config.c http_header.c http_kv.c log.c fdlog.c sock_addr.c ck.c -t_test_configfile_LDADD = $(PCRE_LIB) $(LIBUNWIND_LIBS) +t_test_configfile_LDADD = $(PCRE_LIB) $(LIBUNWIND_LIBS) $(WS2_32_LIB) t_test_mod_SOURCES = $(common_src) t/test_mod.c \ t/test_mod_access.c \ @@ -530,7 +530,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) $(DL_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) $(WS2_32_LIB) noinst_HEADERS = $(hdr) EXTRA_DIST = \ |