From 27df659fd805592783d13a7c664339eb577ac666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Mon, 21 Jul 2014 11:07:28 +0000 Subject: [PATCH] gl: Reorder CFLAGS to include in-source dirs first in examples https://bugzilla.gnome.org/show_bug.cgi?id=733426 --- tests/examples/gl/sdl/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/examples/gl/sdl/Makefile.am b/tests/examples/gl/sdl/Makefile.am index 12b51a642d..69ac9347ff 100644 --- a/tests/examples/gl/sdl/Makefile.am +++ b/tests/examples/gl/sdl/Makefile.am @@ -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)