mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
Fix build with LDFLAGS='-Wl,-z,defs' (#410997)
Original commit message from CVS: Patch by: Loïc Minier <lool+gnome at via ecp fr> * configure.ac: * ext/annodex/Makefile.am: * ext/jpeg/Makefile.am: * ext/speex/Makefile.am: * gst/alpha/Makefile.am: * gst/cutter/Makefile.am: * gst/debug/Makefile.am: * gst/effectv/Makefile.am: * gst/goom/Makefile.am: * gst/level/Makefile.am: * gst/smpte/Makefile.am: * gst/videofilter/Makefile.am: Fix build with LDFLAGS='-Wl,-z,defs' (#410997)
This commit is contained in:
parent
e854c41c2f
commit
682312a296
13 changed files with 40 additions and 12 deletions
18
ChangeLog
18
ChangeLog
|
@ -1,3 +1,21 @@
|
||||||
|
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/annodex/Makefile.am:
|
||||||
|
* ext/jpeg/Makefile.am:
|
||||||
|
* ext/speex/Makefile.am:
|
||||||
|
* gst/alpha/Makefile.am:
|
||||||
|
* gst/cutter/Makefile.am:
|
||||||
|
* gst/debug/Makefile.am:
|
||||||
|
* gst/effectv/Makefile.am:
|
||||||
|
* gst/goom/Makefile.am:
|
||||||
|
* gst/level/Makefile.am:
|
||||||
|
* gst/smpte/Makefile.am:
|
||||||
|
* gst/videofilter/Makefile.am:
|
||||||
|
Fix build with LDFLAGS='-Wl,-z,defs' (#410997)
|
||||||
|
|
||||||
2007-02-23 Jan Schmidt <thaytan@mad.scientist.com>
|
2007-02-23 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* gst/rtsp/Makefile.am:
|
* gst/rtsp/Makefile.am:
|
||||||
|
|
|
@ -205,6 +205,10 @@ GST_PLUGIN_DOCS([1.3],[2.1])
|
||||||
|
|
||||||
dnl *** checks for libraries ***
|
dnl *** checks for libraries ***
|
||||||
|
|
||||||
|
dnl check for libm, for sin()
|
||||||
|
AC_CHECK_LIBM
|
||||||
|
AC_SUBST(LIBM)
|
||||||
|
|
||||||
dnl *** checks for header files ***
|
dnl *** checks for header files ***
|
||||||
|
|
||||||
dnl check if we have ANSI C header files
|
dnl check if we have ANSI C header files
|
||||||
|
|
|
@ -11,7 +11,7 @@ libgstannodex_la_SOURCES = \
|
||||||
libgstannodex_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
|
libgstannodex_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||||
$(GST_CFLAGS) $(XML_CFLAGS)
|
$(GST_CFLAGS) $(XML_CFLAGS)
|
||||||
libgstannodex_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
libgstannodex_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
||||||
$(GST_LIBS) $(XML_LIBS)
|
$(GST_LIBS) $(XML_LIBS) $(LIBM)
|
||||||
libgstannodex_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstannodex_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstannodex.h gstcmmlutils.h gstcmmltag.h gstcmmlparser.h \
|
noinst_HEADERS = gstannodex.h gstcmmlutils.h gstcmmltag.h gstcmmlparser.h \
|
||||||
|
|
|
@ -9,7 +9,7 @@ libgstjpeg_la_SOURCES = \
|
||||||
gstsmokedec.c
|
gstsmokedec.c
|
||||||
|
|
||||||
libgstjpeg_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
libgstjpeg_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||||
libgstjpeg_la_LIBADD = $(GST_LIBS) $(JPEG_LIBS)
|
libgstjpeg_la_LIBADD = $(GST_LIBS) $(JPEG_LIBS) $(LIBM)
|
||||||
libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
|
|
|
@ -10,6 +10,6 @@ libgstspeex_la_LIBADD = \
|
||||||
$(GST_BASE_LIBS) \
|
$(GST_BASE_LIBS) \
|
||||||
$(GST_LIBS) \
|
$(GST_LIBS) \
|
||||||
$(SPEEX_LIBS)
|
$(SPEEX_LIBS)
|
||||||
libgstspeex_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstspeex_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM)
|
||||||
|
|
||||||
noinst_HEADERS = gstspeexenc.h gstspeexdec.h
|
noinst_HEADERS = gstspeexenc.h gstspeexdec.h
|
||||||
|
|
|
@ -3,7 +3,7 @@ plugin_LTLIBRARIES = libgstalpha.la libgstalphacolor.la
|
||||||
libgstalpha_la_SOURCES = gstalpha.c
|
libgstalpha_la_SOURCES = gstalpha.c
|
||||||
libgstalpha_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
libgstalpha_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||||
libgstalpha_la_LIBADD = $(GST_LIBS)
|
libgstalpha_la_LIBADD = $(GST_LIBS) $(LIBM)
|
||||||
libgstalpha_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstalpha_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
libgstalphacolor_la_SOURCES = gstalphacolor.c
|
libgstalphacolor_la_SOURCES = gstalphacolor.c
|
||||||
|
|
|
@ -2,7 +2,7 @@ plugin_LTLIBRARIES = libgstcutter.la
|
||||||
|
|
||||||
libgstcutter_la_SOURCES = gstcutter.c
|
libgstcutter_la_SOURCES = gstcutter.c
|
||||||
libgstcutter_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
libgstcutter_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||||
libgstcutter_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(GST_BASE_LIBS)
|
libgstcutter_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(GST_BASE_LIBS) $(LIBM)
|
||||||
libgstcutter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstcutter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstcutter.h filter.func
|
noinst_HEADERS = gstcutter.h filter.func
|
||||||
|
|
|
@ -23,7 +23,7 @@ libgstnavigationtest_la_SOURCES = gstnavigationtest.c
|
||||||
libgstnavigationtest_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
libgstnavigationtest_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS)
|
$(GST_PLUGINS_BASE_CFLAGS)
|
||||||
libgstnavigationtest_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
|
libgstnavigationtest_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
|
||||||
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@
|
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ $(LIBM)
|
||||||
libgstnavigationtest_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstnavigationtest_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
libgstdebug_la_SOURCES = \
|
libgstdebug_la_SOURCES = \
|
||||||
|
|
|
@ -11,7 +11,8 @@ libgsteffectv_la_CFLAGS = \
|
||||||
libgsteffectv_la_LIBADD = \
|
libgsteffectv_la_LIBADD = \
|
||||||
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
|
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
|
||||||
$(GST_BASE_LIBS) \
|
$(GST_BASE_LIBS) \
|
||||||
$(GST_LIBS)
|
$(GST_LIBS) \
|
||||||
|
$(LIBM)
|
||||||
libgsteffectv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgsteffectv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gsteffectv.h
|
noinst_HEADERS = gsteffectv.h
|
||||||
|
|
|
@ -8,7 +8,7 @@ noinst_HEADERS = gstgoom.h filters.h goom_core.h goom_tools.h graphic.h lines.h
|
||||||
libgstgoom_la_SOURCES = gstgoom.c goom_core.c $(GOOM_FILTER_FILES) graphic.c lines.c
|
libgstgoom_la_SOURCES = gstgoom.c goom_core.c $(GOOM_FILTER_FILES) graphic.c lines.c
|
||||||
|
|
||||||
libgstgoom_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GOOM_FILTER_CFLAGS)
|
libgstgoom_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GOOM_FILTER_CFLAGS)
|
||||||
libgstgoom_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
|
libgstgoom_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
|
||||||
libgstgoom_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstgoom_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
EXTRA_DIST = filters.c
|
EXTRA_DIST = filters.c
|
||||||
|
|
|
@ -2,7 +2,7 @@ plugin_LTLIBRARIES = libgstlevel.la
|
||||||
|
|
||||||
libgstlevel_la_SOURCES = gstlevel.c
|
libgstlevel_la_SOURCES = gstlevel.c
|
||||||
libgstlevel_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
libgstlevel_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||||
libgstlevel_la_LIBADD = $(GST_BASE_LIBS)
|
libgstlevel_la_LIBADD = $(GST_BASE_LIBS) $(LIBM)
|
||||||
libgstlevel_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstlevel_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstlevel.h
|
noinst_HEADERS = gstlevel.h
|
||||||
|
|
|
@ -5,5 +5,5 @@ libgstsmpte_la_SOURCES = gstsmpte.c gstmask.c barboxwipes.c paint.c
|
||||||
noinst_HEADERS = gstsmpte.h gstmask.h paint.h
|
noinst_HEADERS = gstsmpte.h gstmask.h paint.h
|
||||||
|
|
||||||
libgstsmpte_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
libgstsmpte_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||||
libgstsmpte_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS)
|
libgstsmpte_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(LIBM)
|
||||||
libgstsmpte_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstsmpte_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
|
@ -20,8 +20,13 @@ libgstvideoflip_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
libgstvideobalance_la_SOURCES = gstvideobalance.c
|
libgstvideobalance_la_SOURCES = gstvideobalance.c
|
||||||
libgstvideobalance_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
libgstvideobalance_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS)
|
$(GST_PLUGINS_BASE_CFLAGS)
|
||||||
libgstvideobalance_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
|
libgstvideobalance_la_LIBADD = \
|
||||||
-lgstinterfaces-@GST_MAJORMINOR@ $(GST_BASE_LIBS) $(GST_LIBS)
|
$(GST_PLUGINS_BASE_LIBS) \
|
||||||
|
-lgstvideo-@GST_MAJORMINOR@ \
|
||||||
|
-lgstinterfaces-@GST_MAJORMINOR@ \
|
||||||
|
$(GST_BASE_LIBS) \
|
||||||
|
$(GST_LIBS) \
|
||||||
|
$(LIBM)
|
||||||
libgstvideobalance_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstvideobalance_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
# libgstgamma_la_SOURCES = gstgamma.c
|
# libgstgamma_la_SOURCES = gstgamma.c
|
||||||
|
|
Loading…
Reference in a new issue