diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-07-13 01:10:02 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-10-27 08:45:42 +0200 |
commit | 381c39b868360be4393c8cfcaf6609a743b626b0 (patch) | |
tree | 18331a45b183d279772f69872e26ee4d5907c8f8 /nxcomp/src | |
parent | 1f717c6fdfa478f1c422bff51bc8574360dbe127 (diff) | |
download | nx-libs-381c39b868360be4393c8cfcaf6609a743b626b0.tar.gz nx-libs-381c39b868360be4393c8cfcaf6609a743b626b0.tar.bz2 nx-libs-381c39b868360be4393c8cfcaf6609a743b626b0.zip |
nxcomp: add AX_PTHREAD code from autoconf-archive and check for pthread support.
Diffstat (limited to 'nxcomp/src')
-rw-r--r-- | nxcomp/src/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nxcomp/src/Makefile.am b/nxcomp/src/Makefile.am index 2264cb347..ad05a6cbf 100644 --- a/nxcomp/src/Makefile.am +++ b/nxcomp/src/Makefile.am @@ -120,6 +120,7 @@ libXcomp_la_LIBADD = \ @JPEG_LIBS@ \ @PNG_LIBS@ \ @Z_LIBS@ \ + @PTHREAD_LIBS@ \ $(NULL) AM_CXXFLAGS = \ @@ -127,13 +128,18 @@ AM_CXXFLAGS = \ $(JPEG_CFLAGS) \ $(PNG_CFLAGS) \ $(Z_CFLAGS) \ + $(PTHREAD_CFLAGS) \ $(NULL) AM_CPPFLAGS = \ -I$(top_srcdir)/include \ $(NULL) -libXcomp_la_LDFLAGS = -version-number @LT_COMP_VERSION@ -no-undefined +libXcomp_la_LDFLAGS = \ + -version-number @LT_COMP_VERSION@ \ + -no-undefined \ + $(PTHREAD_LDFLAGS) \ + $(NULL) libXcompincludedir = $(includedir)/nx libXcompinclude_HEADERS = \ |