mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gst/udp/Makefile.am: Add -D_GNU_SOURCE to CFLAGS so we get things like EAI_ADDRFAMILY when including netdb.h when bui...
Original commit message from CVS: * gst/udp/Makefile.am: Add -D_GNU_SOURCE to CFLAGS so we get things like EAI_ADDRFAMILY when including netdb.h when building against glibc >= 2.8.
This commit is contained in:
parent
a1a2879083
commit
ec64145246
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
|
* gst/udp/Makefile.am:
|
||||||
|
Add -D_GNU_SOURCE to CFLAGS so we get things like EAI_ADDRFAMILY
|
||||||
|
when including netdb.h when building against glibc >= 2.8.
|
||||||
|
|
||||||
2008-05-22 Julien Moutte <julien@fluendo.com>
|
2008-05-22 Julien Moutte <julien@fluendo.com>
|
||||||
|
|
||||||
* gst/smpte/gstsmptealpha.c: (gst_smpte_alpha_setcaps): Fix
|
* gst/smpte/gstsmptealpha.c: (gst_smpte_alpha_setcaps): Fix
|
||||||
|
|
|
@ -13,7 +13,10 @@ built_headers = gstudp-enumtypes.h gstudp-marshal.h
|
||||||
BUILT_SOURCES = $(built_sources) $(built_headers)
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
||||||
|
|
||||||
libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c gstmultiudpsink.c gstdynudpsink.c gstudpnetutils.c
|
libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c gstmultiudpsink.c gstdynudpsink.c gstudpnetutils.c
|
||||||
libgstudp_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
|
|
||||||
|
# adding -D_GNU_SOURCE to get non-POSIX extensions like EAI_ADDRFAMILY
|
||||||
|
# with glibc >= 2.8 when including netdb.h (see glibc sources bug 6452)
|
||||||
|
libgstudp_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -D_GNU_SOURCE
|
||||||
libgstudp_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) $(WIN32_LIBS)\
|
libgstudp_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) $(WIN32_LIBS)\
|
||||||
-lgstnetbuffer-@GST_MAJORMINOR@
|
-lgstnetbuffer-@GST_MAJORMINOR@
|
||||||
libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue