gl: Reorder CFLAGS to include in-source dirs first in examples
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 21 Jul 2014 11:07:28 +0000 (11:07 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 22 Jul 2014 12:32:54 +0000 (14:32 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=733426

tests/examples/gl/sdl/Makefile.am

index 12b51a6..69ac934 100644 (file)
@@ -7,10 +7,13 @@ noinst_PROGRAMS += sdlshare
 
 sdlshare_SOURCES = sdlshare.c
 
-sdlshare_CFLAGS=$(GST_PLUGINS_BASE_CFLAGS)$(GST_CFLAGS) \
-    $(GL_CFLAGS) $(SDL_CFLAGS) \
+sdlshare_CFLAGS= \
        -I$(top_srcdir)/gst-libs \
-       -I$(top_builddir)/gst-libs
+       -I$(top_builddir)/gst-libs \
+       $(GST_PLUGINS_BASE_CFLAGS) \
+       $(GST_CFLAGS) \
+       $(GL_CFLAGS) \
+       $(SDL_CFLAGS)
 sdlshare_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \
        $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
        -lgstvideo-$(GST_API_VERSION)