summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2016-08-25 12:45:33 +0200
committerJosep Torra <n770galaxy@gmail.com>2016-08-25 16:28:11 +0200
commitee3b23efc033db8baf650a3152a9fe2beb47dfd3 (patch)
tree63f7403127504fb9484cbe5a764226079ec89b5b /tests
parent020816895267286d0ee50c8da4742169b0cfa42a (diff)
build: fix gst-uninstalled build in osx
Fixes clang: error: argument unused during compilation: '-pthread' when building the test programs.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index cb4cdc589..ab8c78721 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -309,7 +309,7 @@ TESTS = $(check_PROGRAMS)
AM_CFLAGS = $(GST_CFLAGS) $(GST_CHECK_CFLAGS) $(GST_OPTION_CFLAGS) \
-DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
- -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
+ -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
LDADD = $(GST_CHECK_LIBS)
generic_states_CFLAGS = $(AM_CFLAGS) $(GMODULE_NO_EXPORT_CFLAGS)
@@ -362,7 +362,8 @@ libs_mpegvideoparser_LDADD = \
libs_mpegts_CFLAGS = \
$(GST_PLUGINS_BAD_CFLAGS) \
-DGST_USE_UNSTABLE_API \
- $(GST_CFLAGS)
+ $(GST_CFLAGS) \
+ $(PTHREAD_CFLAGS)
libs_mpegts_LDADD = \
$(top_builddir)/gst-libs/gst/mpegts/libgstmpegts-@GST_API_VERSION@.la \
@@ -480,6 +481,8 @@ elements_dash_demux_LDADD = \
elements_dash_demux_SOURCES = elements/test_http_src.c elements/test_http_src.h elements/adaptive_demux_engine.c elements/adaptive_demux_engine.h elements/adaptive_demux_common.c elements/adaptive_demux_common.h elements/dash_demux.c
+elements_neonhttpsrc_CFLAGS = $(AM_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
+
elements_mssdemux_CFLAGS = $(AM_CFLAGS) $(LIBXML2_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
elements_mssdemux_LDADD = \
$(LDADD) $(LIBXML2_LIBS) $(GST_BASE_LIBS) \