summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-21 16:50:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-21 16:50:43 +0200
commitcb3d61d59d1236339bb7880e3273bb2ea5e69f5b (patch)
tree8b521a8c93d6ef17fd32f4b64071c6830b59cc24
parent39864293211c55d0f76f18c60f4c7ef6917a1bb5 (diff)
downloaddabmux-cb3d61d59d1236339bb7880e3273bb2ea5e69f5b.tar.gz
dabmux-cb3d61d59d1236339bb7880e3273bb2ea5e69f5b.tar.bz2
dabmux-cb3d61d59d1236339bb7880e3273bb2ea5e69f5b.zip
Fix pthread flag in Makefile.am
-rw-r--r--Makefile.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index e9d3d41..a47f0e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,10 +51,10 @@ lib_charset_sources = lib/charset/charset.cpp \
lib/charset/utf8/unchecked.h \
lib/charset/utf8.h
-odr_dabmux_CFLAGS =-Wall $(INCLUDE) $(GITVERSION_FLAGS)
-odr_dabmux_CXXFLAGS =-Wall -std=c++11 $(INCLUDE) $(GITVERSION_FLAGS) $(BOOST_CPPFLAGS) $(ZMQ_CPPFLAGS)
+odr_dabmux_CFLAGS =-Wall $(INCLUDE) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS)
+odr_dabmux_CXXFLAGS =-Wall -std=c++11 $(PTHREAD_CFLAGS) $(INCLUDE) $(GITVERSION_FLAGS) $(BOOST_CPPFLAGS) $(ZMQ_CPPFLAGS)
odr_dabmux_LDADD =$(ZMQ_LIBS) $(BOOST_LDFLAGS) \
- -lpthread $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB) $(BOOST_ASIO_LIB)
+ $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
odr_dabmux_SOURCES =src/DabMux.cpp \
src/DabMux.h \
@@ -190,8 +190,8 @@ odr_zmq2farsync_SOURCES = src/zmq2farsync/zmq2farsync.cpp \
lib/zmq.hpp
odr_zmq2farsync_LDADD = $(ZMQ_LIBS)
-odr_zmq2farsync_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
-odr_zmq2farsync_CXXFLAGS = -Wall -std=c++11 $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
+odr_zmq2farsync_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
+odr_zmq2farsync_CXXFLAGS = -Wall -std=c++11 $(PTHREAD_LIBS) $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
odr_zmq2edi_SOURCES = src/zmq2edi/zmq2edi.cpp \
src/zmq2edi/EDISender.h \
@@ -224,9 +224,9 @@ odr_zmq2edi_SOURCES = src/zmq2edi/zmq2edi.cpp \
lib/zmq.hpp \
$(lib_fec_sources)
-odr_zmq2edi_LDADD = $(ZMQ_LIBS) -lpthread $(BOOST_THREAD_LIB) $(BOOST_SYSTEM_LIB)
-odr_zmq2edi_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
-odr_zmq2edi_CXXFLAGS = -Wall -std=c++11 $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
+odr_zmq2edi_LDADD = $(ZMQ_LIBS) $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
+odr_zmq2edi_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
+odr_zmq2edi_CXXFLAGS = -Wall -std=c++11 $(PTHREAD_LIBS) $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
EXTRA_DIST = COPYING NEWS README.md INSTALL.md LICENCE AUTHORS ChangeLog TODO doc \