]> granicus.if.org Git - pdns/commitdiff
Link all files with -pthread
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 5 Oct 2014 12:51:05 +0000 (14:51 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 6 Oct 2014 10:08:08 +0000 (12:08 +0200)
modules/remotebackend/Makefile.am

index 71d80db0941f52d3c0d8e4b87b23fd7eedad7e75..b830fc39639cb60f3b0a609e260d8de164c3f46c 100644 (file)
@@ -1,4 +1,5 @@
 AM_CPPFLAGS += $(THREADFLAGS) -I../../pdns/ext/rapidjson/include -I../../pdns/ext/yahttp $(BOOST_CPPFLAGS) $(POLARSSL_CFLAGS) $(LIBZMQ_CFLAGS)
+AM_LDFLAGS = $(THREADFLAGS)
 
 SUBDIRS = ../../pdns/ext/yahttp
 EXTRA_DIST = OBJECTFILES OBJECTLIBS testrunner.sh unittest_http.rb unittest_json.rb unittest_pipe.rb unittest_zeromq.rb unittest_post.rb unittest.rb Gemfile Gemfile.lock
@@ -53,25 +54,19 @@ endif
 
 test_remotebackend_http_SOURCES = test-remotebackend.cc test-remotebackend-http.cc test-remotebackend-keys.hh
 test_remotebackend_http_LDADD = libtestremotebackend.la
-test_remotebackend_http_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS)
 
 test_remotebackend_json_SOURCES = test-remotebackend.cc test-remotebackend-json.cc test-remotebackend-keys.hh
 test_remotebackend_json_LDADD = libtestremotebackend.la
-test_remotebackend_json_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS)
 
 test_remotebackend_pipe_SOURCES = test-remotebackend.cc test-remotebackend-pipe.cc test-remotebackend-keys.hh 
 test_remotebackend_pipe_LDADD = libtestremotebackend.la
-test_remotebackend_pipe_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS)
 
 test_remotebackend_post_SOURCES = test-remotebackend.cc test-remotebackend-post.cc test-remotebackend-keys.hh
 test_remotebackend_post_LDADD = libtestremotebackend.la
-test_remotebackend_post_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS)
 
 test_remotebackend_unix_SOURCES = test-remotebackend.cc test-remotebackend-unix.cc test-remotebackend-keys.hh
 test_remotebackend_unix_LDADD = libtestremotebackend.la
-test_remotebackend_unix_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS)
 
 test_remotebackend_zeromq_SOURCES = test-remotebackend.cc test-remotebackend-zeromq.cc test-remotebackend-keys.hh
 test_remotebackend_zeromq_LDADD = libtestremotebackend.la
-test_remotebackend_zeromq_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS)