win32: no -lSDL if HAVE_SDL!=1

This commit is contained in:
OV2 2012-10-10 20:41:00 +02:00
parent 7f0f6bc0a7
commit 8bd1ef77ff

View File

@ -228,9 +228,9 @@ $(TARGET): $(OBJ)
$(JTARGET): $(JOBJ)
ifeq ($(CXX_BUILD), 1)
$(Q)$(CXX) -o $@ $(JOBJ) -lSDL -ldxguid -ldinput8 -lole32 $(LDFLAGS)
$(Q)$(CXX) -o $@ $(JOBJ) -ldxguid -ldinput8 -lole32 $(LDFLAGS)
else
$(Q)$(CC) -o $@ $(JOBJ) -lSDL -ldxguid -ldinput8 -lole32 $(LDFLAGS)
$(Q)$(CC) -o $@ $(JOBJ) -ldxguid -ldinput8 -lole32 $(LDFLAGS)
endif
@$(if $(Q), $(shell echo echo LD $@),)