mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
tracers: Only link against libgstprintf.la if the debugging system is enabled
It does not exist otherwise and linking will fail.
This commit is contained in:
parent
29d11c4566
commit
2b8413e1cd
1 changed files with 3 additions and 1 deletions
|
@ -9,8 +9,10 @@ endif
|
|||
|
||||
if GST_DISABLE_GST_DEBUG
|
||||
LOG_SOURCES =
|
||||
GST_PRINTF_LA =
|
||||
else
|
||||
LOG_SOURCES = gstlog.c
|
||||
GST_PRINTF_LA = $(top_builddir)/gst/printf/libgstprintf.la
|
||||
endif
|
||||
|
||||
libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
|
||||
|
@ -24,7 +26,7 @@ libgstcoretracers_la_SOURCES = \
|
|||
libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
|
||||
-DGST_USE_UNSTABLE_API
|
||||
libgstcoretracers_la_LIBADD = \
|
||||
$(top_builddir)/gst/printf/libgstprintf.la \
|
||||
$(GST_PRINTF_LA) \
|
||||
$(GST_OBJ_LIBS)
|
||||
libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstcoretracers_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
||||
|
|
Loading…
Reference in a new issue