From bb24e4ad543c3a739625778b9854c49688c8204f Mon Sep 17 00:00:00 2001
From: Stijn Buys <ingar@osirion.org>
Date: Sun, 28 Oct 2007 09:20:41 +0000
Subject: SDL LDFLAGS

---
 src/client/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/client/Makefile.am b/src/client/Makefile.am
index a86d8f0..3df02d3 100644
--- a/src/client/Makefile.am
+++ b/src/client/Makefile.am
@@ -2,7 +2,7 @@
 METASOURCES = AUTO
 bin_PROGRAMS = osirion
 osirion_LDADD = $(top_builddir)/src/game/libgame.la \
-	$(top_builddir)/src/gl/libosiriongl.la -lSDL
+	$(top_builddir)/src/gl/libosiriongl.la
 osirion_SOURCES = camera.cc camera.h client.cc client.h input.cc input.h \
 	main.cc shipdrawer.cc shipdrawer.h stardrawer.cc stardrawer.h video.cc video.h \
 	view.cc view.h console.cc console.h
@@ -10,4 +10,6 @@ osirion_SOURCES = camera.cc camera.h client.cc client.h input.cc input.h \
 
 
 INCLUDES = -I$(top_srcdir)/src
-osirion_LDFLAGS = -L/usr/X11/lib64
+osirion_CFLAGS = $(LIBSDL_CFLAGS)
+osirion_LDFLAGS = $(LIBSDL_LIBS)
+
-- 
cgit v1.2.3