The Build tools no longer link with SDL or SDL_mixer because they don't need to.

Fix for: http://forums.duke4.net/topic/5392-mkpalette-fails-to-build/page__view__findpost__p__132791

git-svn-id: https://svn.eduke32.com/eduke32@2974 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2012-08-27 03:51:17 +00:00
parent 2620738eb9
commit 574f83dc76

View file

@ -154,16 +154,13 @@ ifeq ($(RENDERTYPE),SDL)
ifeq (1,$(SDL_FRAMEWORK))
OURCFLAGS += -I$(APPLE_FRAMEWORKS)/SDL.framework/Headers \
-I$(APPLE_FRAMEWORKS)/SDL_mixer.framework/Headers
UTILLIBS += -Wl,-framework,SDL -Wl,-framework,SDL_mixer ../Apple/lib/libSDLmain.a
else
OURCFLAGS += -I$(SDLROOT)/include -I$(SDLROOT)/include/SDL
UTILLIBS += -lSDL_mixer
endif
endif
ifeq (0,$(SDL_FRAMEWORK))
OURCFLAGS+= $(subst -Dmain=SDL_main,,$(shell $(SDLCONFIG) --cflags))
UTILLIBS+= -lSDL_mixer
else
OURCFLAGS += -DSDL_FRAMEWORK
endif