From e6efaf45428f1e8dd8cdcd562f7b4a09d6027f64 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Thu, 31 May 2007 10:23:16 +0000 Subject: [PATCH] fix simulator builds for FreeBSD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13529 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/configure b/tools/configure index 1cf229aff1..1f041f7ebf 100755 --- a/tools/configure +++ b/tools/configure @@ -114,7 +114,9 @@ simcc () { FreeBSD) echo "FreeBSD host detected" - LDOPTS='-L/usr/X11R6/lib -lX11 -lm -lXt -lXmu -dl -lpthread' + # sdl version + GCCOPTS="$GCCOPTS `sdl-config --cflags`" + LDOPTS="`sdl-config --libs`" ;; Darwin)