aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 707a90f7e9..10f9644028 100644
--- a/Makefile
+++ b/Makefile
@@ -97,13 +97,11 @@ bundle: scummvm-static
# Special target to create a static linked binary for Mac OS X
scummvm-static: $(OBJS)
$(CXX) $(LDFLAGS) -o scummvm-static $(OBJS) \
- /sw/lib/libSDLmain.a /sw/lib/libSDL.a \
+ `sdl-config --static-libs` \
/sw/lib/libmad.a \
/sw/lib/libvorbisfile.a /sw/lib/libvorbis.a /sw/lib/libogg.a \
/sw/lib/libmpeg2.a \
- -lz \
- -framework Cocoa -framework Carbon -framework IOKit \
- -framework OpenGL -framework AGL -framework QuickTime \
- -framework AudioUnit -framework AudioToolbox
+ /sw/lib/libFLAC.a \
+ -lz
.PHONY: deb bundle test