summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-20 06:58:28 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-20 09:51:16 +0100
commitf137d188cb642094bcd21de75e0856907b99dc22 (patch)
tree67672e1873bd6ae1d3a55f419d7ce13b52750559 /pkgconfig
parent9909d3312fc411f95088ca23119811385a80c210 (diff)
build: Define G_THREADS_MANDATORY everywhere
We require threads to be supported in any case and defining this will simplify the mutex, condition variable, etc. macros from gthread to not always check if threads are really supported. Fixes bug #607481.
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/gstreamer-uninstalled.pc.in2
-rw-r--r--pkgconfig/gstreamer.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgconfig/gstreamer-uninstalled.pc.in b/pkgconfig/gstreamer-uninstalled.pc.in
index fa518cd033..674b30db55 100644
--- a/pkgconfig/gstreamer-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-uninstalled.pc.in
@@ -11,4 +11,4 @@ Description: Streaming media framework, Not Installed
Version: @VERSION@
Requires: @GST_PKG_DEPS@@LIBXML_PKG@
Libs: ${libdir}/gst/libgstreamer-@GST_MAJORMINOR@.la
-Cflags: -I${includedir} -I@srcdir@/.. -I${includedir}/libs -I@srcdir@/../libs
+Cflags: -I${includedir} -I@srcdir@/.. -I${includedir}/libs -I@srcdir@/../libs -DG_THREADS_MANDATORY
diff --git a/pkgconfig/gstreamer.pc.in b/pkgconfig/gstreamer.pc.in
index 32fd81182d..3cbe181f6b 100644
--- a/pkgconfig/gstreamer.pc.in
+++ b/pkgconfig/gstreamer.pc.in
@@ -10,4 +10,4 @@ Description: Streaming media framework
Requires: @GST_PKG_DEPS@@LIBXML_PKG@
Version: @VERSION@
Libs: -L${libdir} -lgstreamer-@GST_MAJORMINOR@
-Cflags: -I${includedir}
+Cflags: -I${includedir} -DG_THREADS_MANDATORY