Commit 80ecfad9 authored by Mike Gabriel's avatar Mike Gabriel

nxcomp/src/Makefile.am: Correct usage of PTHREAD_CFLAGS and PTHREAD_LIBS.…

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.
parent 1ff05c8e
...@@ -121,7 +121,6 @@ libXcomp_la_LIBADD = \ ...@@ -121,7 +121,6 @@ libXcomp_la_LIBADD = \
@JPEG_LIBS@ \ @JPEG_LIBS@ \
@PNG_LIBS@ \ @PNG_LIBS@ \
@Z_LIBS@ \ @Z_LIBS@ \
@PTHREAD_LIBS@ \
$(NULL) $(NULL)
AM_CXXFLAGS = \ AM_CXXFLAGS = \
...@@ -129,17 +128,18 @@ AM_CXXFLAGS = \ ...@@ -129,17 +128,18 @@ AM_CXXFLAGS = \
$(JPEG_CFLAGS) \ $(JPEG_CFLAGS) \
$(PNG_CFLAGS) \ $(PNG_CFLAGS) \
$(Z_CFLAGS) \ $(Z_CFLAGS) \
$(PTHREAD_CFLAGS) \
$(NULL) $(NULL)
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_srcdir)/include \ -I$(top_srcdir)/include \
$(PTHREAD_CFLAGS) \
$(NULL) $(NULL)
libXcomp_la_LDFLAGS = \ libXcomp_la_LDFLAGS = \
-version-number @LT_COMP_VERSION@ \ -version-number @LT_COMP_VERSION@ \
-no-undefined \ -no-undefined \
@PTHREAD_LIBS@ \ @PTHREAD_LIBS@ \
$(PTHREAD_CFLAGS) \
$(NULL) $(NULL)
libXcompincludedir = $(includedir)/nx libXcompincludedir = $(includedir)/nx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment