]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3854: pt2: link stub_fd with squidclient
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 May 2013 13:19:53 +0000 (07:19 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 May 2013 13:19:53 +0000 (07:19 -0600)
AIX and possibly other systems still require fde:: symbols pulled in by
ip/libip. Link the stub since the symbols are actually in dead code.

tools/Makefile.am

index a22e37b397df3fed863ad535ada1e6c37b8e07f3..4c4339f33991fd2d36474ece4e417e9e2e18f05a 100644 (file)
@@ -34,6 +34,9 @@ test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
 stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc
        cp $(top_srcdir)/src/tests/stub_debug.cc .
 
+stub_fd.cc: $(top_srcdir)/src/tests/stub_fd.cc
+       cp $(top_srcdir)/src/tests/stub_fd.cc .
+
 time.cc: $(top_srcdir)/src/time.cc
        cp $(top_srcdir)/src/time.cc .
 
@@ -42,7 +45,7 @@ time.cc: $(top_srcdir)/src/time.cc
 # globals.cc is needed by test_tools.cc.
 # Neither of these should be disted from here.
 TESTSOURCES= test_tools.cc
-CLEANFILES += test_tools.cc stub_debug.cc time.cc
+CLEANFILES += test_tools.cc stub_debug.cc stub_fd.cc time.cc
 
 ## ##### helper-mux #####
 
@@ -58,6 +61,7 @@ bin_PROGRAMS = squidclient
 
 squidclient_SOURCES = squidclient.cc \
        stub_debug.cc \
+       stub_fd.cc \
        test_tools.cc \
        time.cc