mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Work around linking issue with JSMESS (nw)
See https://github.com/kripken/emscripten/issues/2619 for discussion
This commit is contained in:
parent
bcc3b4e13c
commit
f6717f5eed
5
makefile
5
makefile
@ -888,7 +888,12 @@ ifndef EXECUTABLE_DEFINED
|
||||
$(EMULATOR): $(EMUINFOOBJ) $(DRIVLISTOBJ) $(DRVLIBS) $(LIBOSD) $(LIBBUS) $(LIBOPTIONAL) $(LIBEMU) $(LIBDASM) $(LIBUTIL) $(EXPAT) $(SOFTFLOAT) $(JPEG_LIB) $(FLAC_LIB) $(7Z_LIB) $(FORMATS_LIB) $(LUA_LIB) $(SQLITE3_LIB) $(WEB_LIB) $(ZLIB) $(LIBOCORE) $(MIDI_LIB) $(RESFILE)
|
||||
$(CC) $(CDEFS) $(CFLAGS) -c $(SRC)/version.c -o $(VERSIONOBJ)
|
||||
@echo Linking $@...
|
||||
ifeq ($(TARGETOS),emscripten)
|
||||
# Emscripten's linker seems to be stricter about the ordering of .a files
|
||||
$(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $(VERSIONOBJ) -Wl,--start-group $^ -Wl,--end-group $(LIBS) -o $@
|
||||
else
|
||||
$(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $(VERSIONOBJ) $^ $(LIBS) -o $@
|
||||
endif
|
||||
ifeq ($(TARGETOS),win32)
|
||||
ifdef SYMBOLS
|
||||
ifndef MSVC_BUILD
|
||||
|
Loading…
Reference in New Issue
Block a user