Fix CFLAGS and LDFLAGS for dirac/schrodinger

Include the local headers and libs before ones outside this
module.
This commit is contained in:
Jan Schmidt 2009-10-05 11:02:16 +01:00
parent 1ee3b51ee0
commit 8ad360670d
2 changed files with 11 additions and 7 deletions

View file

@ -4,10 +4,14 @@ libgstdirac_la_SOURCES = \
gstdirac.cc \
gstdiracenc.cc
libgstdirac_la_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(DIRAC_CFLAGS) \
libgstdirac_la_CXXFLAGS = \
-I$(top_srcdir)/gst-libs/gst/video \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(DIRAC_CFLAGS) \
-DGST_USE_UNSTABLE_API
libgstdirac_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
libgstdirac_la_LIBADD = \
$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_MAJORMINOR@.la \
$(GST_PLUGINS_BASE_LIBS) \
$(GST_BASE_LIBS) $(GST_LIBS) \
$(DIRAC_LIBS) -lz $(LIBM)
libgstdirac_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdirac_la_LIBTOOLFLAGS = --tag=disable-static

View file

@ -11,16 +11,16 @@ libgstschro_la_SOURCES = \
gstschroparse.c \
gstschroutils.c
libgstschro_la_CFLAGS = \
$(GST_CFLAGS) \
$(GST_BASE_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/video \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
-DGST_USE_UNSTABLE_API \
$(SCHRO_CFLAGS)
libgstschro_la_LIBADD = \
$(GST_LIBS) \
$(GST_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_MAJORMINOR@.la \
$(GST_PLUGINS_BASE_LIBS) \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
$(GST_BASE_LIBS) $(GST_LIBS) \
$(SCHRO_LIBS)
libgstschro_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstschro_la_LIBTOOLFLAGS = --tag=disable-static