Commit 45c1cc81771123a3a3a632e945dd4fd7a428c92b

Xiaofeng Wang 2022-07-29T11:30:17

Compatible with including as <SDL2/SDL.h>

1
2
3
4
5
6
7
8
9
10
diff --git a/sdl2.pc.in b/sdl2.pc.in
index 1b3c0db..ad1a957 100644
--- a/sdl2.pc.in
+++ b/sdl2.pc.in
@@ -11,4 +11,4 @@ Version: @SDL_VERSION@
 Requires:
 Conflicts:
 Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@ @PKGCONFIG_LIBS_PRIV@ @SDL_STATIC_LIBS@
-Cflags: -I${includedir}/SDL2 @SDL_CFLAGS@
+Cflags: -I${includedir} -I${includedir}/SDL2 @SDL_CFLAGS@