Revert "Use this path by default"

This reverts commit 0cf6547295.
This commit is contained in:
twinaphex 2016-09-09 10:15:46 +02:00
parent 0cf6547295
commit 7b55725e74

View File

@ -313,10 +313,14 @@ ifeq ($(STATIC_LINKING),1)
$(AR) rcs $@ $(foreach OBJECTS,$(OBJECTS),&& $(AR) q $@ $(OBJECTS))
else
@echo Linking $@...
ifeq ($(platform),win)
# Use a temporary file to hold the list of objects, as it can exceed windows shell command limits
$(file >$@.in,$(OBJECTS))
$(CC) $(CDEFS) $(CFLAGSOSDEPEND) $(PLATCFLAGS) $(LDFLAGS) -o $@ @$@.in $(LIBS)
@rm $@.in
else
$(CC) $(CDEFS) $(CFLAGSOSDEPEND) $(PLATCFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
endif
endif
%.o: %.c