Fix CFLAGS and LDFLAGS for dirac/schrodinger
authorJan Schmidt <thaytan@noraisin.net>
Mon, 5 Oct 2009 10:02:16 +0000 (11:02 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 5 Oct 2009 10:02:16 +0000 (11:02 +0100)
Include the local headers and libs before ones outside this
module.

ext/dirac/Makefile.am
ext/schroedinger/Makefile.am

index 4196091bf13f6d9216da964a362920d6942924fc..02f4a3998c7e5507df25a041e9ae325b5dd40034 100644 (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
index 6a895c5104587783641dfc848ce8af5d88a73a6c..f1934b833363d8a521a58c266bfae6ad944ad023 100644 (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