configure
[melted] / configure
index cfa00fb..9808ff3 100755 (executable)
--- a/configure
+++ b/configure
@@ -58,8 +58,9 @@ function build_config
 
                case $targetos in
                Darwin)
-               echo "CFLAGS+=-D__DARWIN__"
+               echo "CFLAGS+=-D__DARWIN__ `sdl-config --cflags`"
                echo "SHFLAGS=-dynamiclib"
+               echo "LIBDL=`sdl-config --libs`"
                ;;
                Linux)
                echo "CFLAGS+=-pthread"