mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
Fix compilation with LDFLAGS='-Wl,-z,defs' (#410963).
Original commit message from CVS: Patch by: Loïc Minier <lool+gnome at via ecp fr> * configure.ac: * ext/alsa/Makefile.am: * gst/audiotestsrc/Makefile.am: Fix compilation with LDFLAGS='-Wl,-z,defs' (#410963).
This commit is contained in:
parent
d35f4efe67
commit
2770d0fbea
4 changed files with 24 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
2007-02-24 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Loïc Minier <lool+gnome at via ecp fr>
|
||||
|
||||
* configure.ac:
|
||||
* ext/alsa/Makefile.am:
|
||||
* gst/audiotestsrc/Makefile.am:
|
||||
Fix compilation with LDFLAGS='-Wl,-z,defs' (#410963).
|
||||
|
||||
2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/gstplaybin.c:
|
||||
|
|
|
@ -186,6 +186,10 @@ dnl For interactive UNIX (a Sun thing)
|
|||
dnl FIXME: this adds -lcposix to LIBS, but I doubt we use LIBS
|
||||
AC_ISC_POSIX
|
||||
|
||||
dnl libm, for sin() etc.
|
||||
AC_CHECK_LIBM
|
||||
AC_SUBST(LIBM)
|
||||
|
||||
dnl *** checks for header files ***
|
||||
|
||||
dnl check if we have ANSI C header files
|
||||
|
|
|
@ -11,11 +11,17 @@ libgstalsa_la_SOURCES = \
|
|||
gstalsasrc.c \
|
||||
gstalsa.c
|
||||
|
||||
libgstalsa_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(ALSA_CFLAGS)
|
||||
libgstalsa_la_CFLAGS = \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||
$(GST_BASE_CFLAGS) \
|
||||
$(GST_CFLAGS) \
|
||||
$(ALSA_CFLAGS)
|
||||
libgstalsa_la_LIBADD = \
|
||||
$(ALSA_LIBS) \
|
||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||
$(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_MAJORMINOR).la
|
||||
$(GST_PLUGINS_BASE_LIBS) \
|
||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||
$(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_MAJORMINOR).la \
|
||||
$(GST_BASE_LIBS) \
|
||||
$(ALSA_LIBS)
|
||||
|
||||
libgstalsa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
|
|
|
@ -3,6 +3,6 @@ plugin_LTLIBRARIES = libgstaudiotestsrc.la
|
|||
libgstaudiotestsrc_la_SOURCES = gstaudiotestsrc.c
|
||||
libgstaudiotestsrc_la_CFLAGS = $(GST_CFLAGS) $(GST_CONTROLLER_CFLAGS)
|
||||
libgstaudiotestsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstaudiotestsrc_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CONTROLLER_LIBS)
|
||||
libgstaudiotestsrc_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CONTROLLER_LIBS) $(LIBM)
|
||||
|
||||
noinst_HEADERS = gstaudiotestsrc.h
|
||||
|
|
Loading…
Reference in a new issue