[egoboo] Need to use sdl-config for includes as well
Bruno Wolff III
bruno at fedoraproject.org
Tue Mar 13 02:50:35 UTC 2012
commit 3659e089d2041baa31f9dce171717f9a1e2564d9
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sun Mar 11 12:57:54 2012 -0500
Need to use sdl-config for includes as well
egoboo-opts.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/egoboo-opts.patch b/egoboo-opts.patch
index e7271c5..40f7913 100644
--- a/egoboo-opts.patch
+++ b/egoboo-opts.patch
@@ -6,7 +6,7 @@
CC := gcc
-INC := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
-+INC := -I./extensions -I./file_formats -I./platform
++INC := `sdl-config --cflags` -I./extensions -I./file_formats -I./platform
+LDFLAGS := `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lenet -lm
# use different options if the environmental variable PREFIX is defined
More information about the scm-commits
mailing list