Commit fc9491ddce5829e62b0c36bf8d565c238e5578d2

Brandon Schaefer 2014-04-17T14:02:21

Add DIRECTFB_CFLAGS to SDL_CFLAGS so its cflags will get added to the sdl2.pc

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/configure.in b/configure.in
index f7537f0..791c870 100644
--- a/configure.in
+++ b/configure.in
@@ -1783,6 +1783,7 @@ AC_MSG_WARN("directfb $directfb_lib")
                 SUMMARY_video="${SUMMARY_video} directfb"
             fi
             AC_MSG_RESULT($directfb_shared)
+            SDL_CFLAGS="$SDL_CFLAGS $DIRECTFB_CFLAGS"
             have_video=yes
         fi
     fi