gstreamer/pkgconfig/gstreamer.pc.in
Tim-Philipp Müller 79d3f1a2c1 pkgconfig: don't put -DG_THREADS_MANDATORY into our pkg-config CFLAGS
If we force -DG_THREADS_MANDATORY onto apps, then g_thread_supported()
will always evaluate to TRUE, so the typical thread initialisation
boilerplate code if (!g_thread_supported()) g_thread_init(NULL); will
no longer work, and the threading system not be initialised and us
printing a warning in gst_init. This may be fine in most cases, since
late initialisation is allowed and automatically done in g_type_init()
since GLib 2.23.2, but let's be cautious and only use this define when
compiling GStreamer itself.

See #608398.
2010-01-30 12:50:09 +00:00

14 lines
367 B
PkgConfig

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
toolsdir=${exec_prefix}/bin
pluginsdir=@libdir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer
Description: Streaming media framework
Requires: @GST_PKG_DEPS@@LIBXML_PKG@
Version: @VERSION@
Libs: -L${libdir} -lgstreamer-@GST_MAJORMINOR@
Cflags: -I${includedir}