Browse Source

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

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

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