mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
souphttpsrc: set SOUP_VERSION_{MIN_REQUIRED,MAX_ALLOWED} to suppress deprecations with newer versions
https://bugzilla.gnome.org/show_bug.cgi?id=693911
This commit is contained in:
parent
a3e1db1292
commit
048d256041
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,10 @@ plugin_LTLIBRARIES = libgstsouphttpsrc.la
|
||||||
|
|
||||||
libgstsouphttpsrc_la_SOURCES = gstsouphttpsrc.c gstsouphttpclientsink.c gstsoup.c
|
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_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ $(GST_BASE_LIBS) $(SOUP_LIBS)
|
||||||
libgstsouphttpsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstsouphttpsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
libgstsouphttpsrc_la_LIBTOOLFLAGS = --tag=disable-static
|
libgstsouphttpsrc_la_LIBTOOLFLAGS = --tag=disable-static
|
||||||
|
|
Loading…
Reference in a new issue