From 80ecfad957d8107b8103a47ea69a8762fcea829b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 1 Mar 2019 23:16:49 +0100 Subject: 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. --- nxcomp/src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nxcomp') 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 -- cgit v1.2.3