aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-12 08:34:52 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-12 08:34:52 -0300
commitf07b90a87a92bd3df088c7f4a40fc46a26f7c630 (patch)
tree289c3062d30520a5af49d04a7a812c9ab4361aef
parent53e172752152ab9dc011210e6aacd0fbb8e6ad4e (diff)
libdvbv5: be sure to add pthread libary if need
If built with pthread, the corresponding library should be linkedited when building it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--lib/libdvbv5/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdvbv5/Makefile.am b/lib/libdvbv5/Makefile.am
index c46c4586..e65066e9 100644
--- a/lib/libdvbv5/Makefile.am
+++ b/lib/libdvbv5/Makefile.am
@@ -117,7 +117,7 @@ libdvbv5_la_SOURCES += \
dvb-dev-remote.c
endif
-libdvbv5_la_CPPFLAGS = -I../.. $(ENFORCE_LIBDVBV5_STATIC) $(LIBUDEV_CFLAGS)
+libdvbv5_la_CPPFLAGS = -I../.. $(ENFORCE_LIBDVBV5_STATIC) $(LIBUDEV_CFLAGS) $(PTHREAD_CFLAGS)
libdvbv5_la_LDFLAGS = $(LIBDVBV5_VERSION) $(ENFORCE_LIBDVBV5_STATIC) $(LIBUDEV_LIBS) -lm -lrt
libdvbv5_la_LIBADD = $(LTLIBICONV)

Privacy Policy