mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
examples: don't compile testrtpool example if pthreads are not available like on win32
Based on patch by: italarab@gmail.com https://bugzilla.gnome.org/show_bug.cgi?id=688511
This commit is contained in:
parent
b4a91de1be
commit
82c7b2da51
1 changed files with 5 additions and 2 deletions
|
@ -40,7 +40,6 @@ EXAMPLES = \
|
|||
appsink \
|
||||
dynformat \
|
||||
effectswitch \
|
||||
testrtpool \
|
||||
norebuffer \
|
||||
playbin \
|
||||
decodebin \
|
||||
|
@ -61,11 +60,15 @@ BUILT_SOURCES = \
|
|||
appsink.c \
|
||||
dynformat.c \
|
||||
effectswitch.c \
|
||||
testrtpool.c \
|
||||
norebuffer.c \
|
||||
playbin.c decodebin.c \
|
||||
playsink.c
|
||||
|
||||
if HAVE_PTHREAD
|
||||
BUILT_SOURCES += testrtpool.c
|
||||
EXAMPLES += testrtpool
|
||||
endif
|
||||
|
||||
CLEANFILES = core core.* test-registry.* *.gcno *.gcda $(BUILT_SOURCES)
|
||||
|
||||
AM_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue