aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 23:16:49 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-04-07 22:00:27 +0200
commit80ecfad957d8107b8103a47ea69a8762fcea829b (patch)
treeac0f9c3e2069caf342cd5a559c2f722e9e7eb2a2 /nxcomp
parent1ff05c8e23cb9ae911cb8bdd9e4f7b8a2c1f5180 (diff)
downloadnx-libs-80ecfad957d8107b8103a47ea69a8762fcea829b.tar.gz
nx-libs-80ecfad957d8107b8103a47ea69a8762fcea829b.tar.bz2
nx-libs-80ecfad957d8107b8103a47ea69a8762fcea829b.zip
nxcomp/src/Makefile.am: Correct usage of PTHREAD_CFLAGS and PTHREAD_LIBS. PTHREAD_CFLAGS is also supposed to be used when linking. See comments in m4/ax_pthread.m4.
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/nxcomp/src/Makefile.am b/nxcomp/src/Makefile.am
index 9cecae88e..e062f08b8 100644
--- a/nxcomp/src/Makefile.am
+++ b/nxcomp/src/Makefile.am
@@ -121,7 +121,6 @@ libXcomp_la_LIBADD = \
@JPEG_LIBS@ \
@PNG_LIBS@ \
@Z_LIBS@ \
- @PTHREAD_LIBS@ \
$(NULL)
AM_CXXFLAGS = \
@@ -129,17 +128,18 @@ AM_CXXFLAGS = \
$(JPEG_CFLAGS) \
$(PNG_CFLAGS) \
$(Z_CFLAGS) \
- $(PTHREAD_CFLAGS) \
$(NULL)
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
+ $(PTHREAD_CFLAGS) \
$(NULL)
libXcomp_la_LDFLAGS = \
-version-number @LT_COMP_VERSION@ \
-no-undefined \
@PTHREAD_LIBS@ \
+ $(PTHREAD_CFLAGS) \
$(NULL)
libXcompincludedir = $(includedir)/nx