From 8200e26360add6ce885a1f00704f423a4eb84952 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 31 Aug 2005 08:42:58 +0000 Subject: [PATCH] use system SDL lib --- code/unix/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/unix/Makefile b/code/unix/Makefile index f608f9f0..49b0ff68 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -122,7 +122,7 @@ ifeq ($(PLATFORM),linux) # !!! FIXME: make this a build option? Make it coexist with X11 glimp? ifeq ($(strip $(USE_SDL)),true) - BASE_CFLAGS += -DUSE_SDL=1 -ISDL12/include + BASE_CFLAGS += -DUSE_SDL=1 $(shell sdl-config --cflags) endif GL_CFAGS = -I/usr/X11R6/include @@ -172,7 +172,7 @@ ifeq ($(PLATFORM),linux) endif ifeq ($(strip $(USE_SDL)),true) - LDFLAGS+=-lSDL + LDFLAGS+=$(shell sdl-config --libs) endif ifeq ($(ARCH),i386)