Fix build on OSX

This commit is contained in:
Vas Crabb 2015-02-22 21:09:41 +11:00
parent 98c6a6d5cb
commit 7b83547d61
2 changed files with 3 additions and 4 deletions

View file

@ -949,7 +949,7 @@ ifeq ($(TARGETOS),emscripten)
# Emscripten's linker seems to be stricter about the ordering of files
$(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $(VERSIONOBJ) -Wl,--start-group $(EMULATOROBJ) -Wl,--end-group $(LIBS) -o $@
else
$(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $^ $(LIBS) -o $@
$(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $(VERSIONOBJ) $(EMULATOROBJ) $(LIBS) -o $@
endif
ifeq ($(TARGETOS),win32)
ifdef SYMBOLS

View file

@ -67,12 +67,11 @@ BUSES += MIDI
#-------------------------------------------------
DRVLIBS = \
$(EMUDRIVERS)/emudummy.o \
$(LDPOBJ)/ldplayer.o \
$(EMUDRIVERS)/emudummy.o
#-------------------------------------------------
# layout dependencies
#-------------------------------------------------
$(LDPOBJ)/ldplayer.o: $(LAYOUT)/pr8210.lh \
$(LDPOBJ)/ldplayer.o: $(LAYOUT)/pr8210.lh