File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,6 +193,14 @@ esac
193193AS_IF ( [ test "x$is_windows" = xyes] , [ V3_TLS_DL_LIBS=""] , [ V3_TLS_DL_LIBS="-ldl"] )
194194AC_SUBST ( [ V3_TLS_DL_LIBS] )
195195
196+ # Programs that link the raw static v3core archive bypass libtool's
197+ # dependency propagation, and the global LDFLAGS carrying NETWORK_LIBS
198+ # precede the objects on automake link lines, so the Windows network
199+ # libraries must ride the program LDADD explicitly, after the archive.
200+ # POSIX libc resolves socket symbols implicitly.
201+ AS_IF ( [ test "x$is_windows" = xyes] , [ V3_NETWORK_LIBS="$NETWORK_LIBS"] , [ V3_NETWORK_LIBS=""] )
202+ AC_SUBST ( [ V3_NETWORK_LIBS] )
203+
196204# Checks for header files.
197205AC_CHECK_HEADER ( [ stdint.h] ,[ ] ,[ AC_MSG_ERROR ( "stdint.h not found" ) ] )
198206AC_CHECK_HEADER ( [ inttypes.h] ,[ ] ,[ AC_MSG_ERROR ( "inttypes.h not found" ) ] )
Original file line number Diff line number Diff line change @@ -1321,7 +1321,7 @@ if NATIVE_V3_TLS
13211321check_PROGRAMS += quic_interop_tls
13221322quic_interop_tls_SOURCES = unit/quic_interop_tls_test.cpp support/http3_network_owner.cpp support/http3_network_lifecycle.cpp support/quic_interop_files.cpp
13231323quic_interop_tls_CPPFLAGS = $(http3_network_owner_CPPFLAGS )
1324- quic_interop_tls_LDADD = libquic_interop_provider.a $(top_builddir ) /src/.libs/libhttpserver_v3core.a $(V3_TLS_LIBS ) -lpthread $(V3_TLS_DL_LIBS )
1324+ quic_interop_tls_LDADD = libquic_interop_provider.a $(top_builddir ) /src/.libs/libhttpserver_v3core.a $(V3_TLS_LIBS ) -lpthread $(V3_TLS_DL_LIBS ) $( V3_NETWORK_LIBS )
13251325quic_interop_tls_LDFLAGS = $(tls_io_LDFLAGS )
13261326endif
13271327check_PROGRAMS += quic_interop_files
You can’t perform that action at this time.
0 commit comments