aboutsummaryrefslogtreecommitdiff
path: root/nxproxy/src
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-10-27 14:14:24 +0200
committerMihai Moldovan <ionic@ionic.de>2017-10-27 14:14:27 +0200
commit1c6c9c04b56656d9ab3f486738a4950e71f29b74 (patch)
tree7d702837897fe07c82d64db1c02ce7be5bca00bf /nxproxy/src
parent22bb128dc47b50dfd7b38d9a18188eb0b314ec4d (diff)
downloadnx-libs-1c6c9c04b56656d9ab3f486738a4950e71f29b74.tar.gz
nx-libs-1c6c9c04b56656d9ab3f486738a4950e71f29b74.tar.bz2
nx-libs-1c6c9c04b56656d9ab3f486738a4950e71f29b74.zip
nxproxy: use ax_pthread.m4.
Works around libtool bug related to using both -nostdlib and -pthread (with the former dropping latter usage.)
Diffstat (limited to 'nxproxy/src')
-rw-r--r--nxproxy/src/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/nxproxy/src/Makefile.am b/nxproxy/src/Makefile.am
index c09febcf6..7e55900d3 100644
--- a/nxproxy/src/Makefile.am
+++ b/nxproxy/src/Makefile.am
@@ -9,11 +9,17 @@ nxproxy_SOURCES = \
$(NULL)
nxproxy_LDADD = \
+ @PTHREAD_LIBS@ \
-L$(top_srcdir)/../nxcomp/src/.libs -lXcomp \
$(NULL)
+nxproxy_LDFLAGS = \
+ $(PTHREAD_LDFLAGS) \
+ $(NULL)
+
nxproxy_CFLAGS = \
$(BASE_CFLAGS) \
+ $(PTHREAD_CFLAGS) \
$(NULL)
AM_CPPFLAGS = \