Commit ece3143d8ff619f02d7b2f8b4c8f7c656c1c4942

Brandon Schaefer 2014-04-17T13:58:39

Add MIR_CFLAGS to SDL_CFLAGS so these cflags are added to the sdl2.pc file.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/configure.in b/configure.in
index 0261a7a..f7537f0 100644
--- a/configure.in
+++ b/configure.in
@@ -1299,6 +1299,7 @@ AC_HELP_STRING([--enable-mir-shared], [dynamically load Mir support [[default=ma
                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $MIR_LIBS"
                 SUMMARY_video="${SUMMARY_video} mir"
             fi
+            SDL_CFLAGS="$SDL_CFLAGS $MIR_CFLAGS"
             have_video=yes
         fi
     fi