summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2013-02-16 16:49:22 +0000
committerTim-Philipp Müller <tim@centricular.net>2013-02-16 16:49:22 +0000
commit048d256041a68d0f4e64ddbb73a6bcf325e6ff17 (patch)
tree3714eec22d211468d7227007189dd1b104bfe902
parenta3e1db12929ed26a6d589e796e38ac8627471fb6 (diff)
souphttpsrc: set SOUP_VERSION_{MIN_REQUIRED,MAX_ALLOWED} to suppress deprecations with newer versions
https://bugzilla.gnome.org/show_bug.cgi?id=693911
-rw-r--r--ext/soup/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/soup/Makefile.am b/ext/soup/Makefile.am
index da2babc5d..5b6756dd2 100644
--- a/ext/soup/Makefile.am
+++ b/ext/soup/Makefile.am
@@ -2,7 +2,10 @@ plugin_LTLIBRARIES = libgstsouphttpsrc.la
libgstsouphttpsrc_la_SOURCES = gstsouphttpsrc.c gstsouphttpclientsink.c gstsoup.c
-libgstsouphttpsrc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(SOUP_CFLAGS)
+libgstsouphttpsrc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
+ $(GST_CFLAGS) $(SOUP_CFLAGS) \
+ -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_26 \
+ -DSOUP_VERSION_MAX_ALLOWED=SOUP_DEPRECATED_IN_2_26
libgstsouphttpsrc_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ $(GST_BASE_LIBS) $(SOUP_LIBS)
libgstsouphttpsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstsouphttpsrc_la_LIBTOOLFLAGS = --tag=disable-static