Browse Source

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

Brandon Schaefer 11 years ago
parent
commit
ece3143d8f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure.in

+ 1 - 0
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