Previous 199869 Revisions Next

r41810 Saturday 21st November, 2015 at 09:40:59 UTC by Justin Kerk
Emscripten build fixes (nw)
[/trunk]makefile
[scripts/src]3rdparty.lua
[scripts/src/osd]modules.lua

trunk/makefile
r250321r250322
327327ifeq ($(TARGETOS),os2)
328328OSD := sdl
329329endif
330
331ifeq ($(TARGETOS),asmjs)
332OSD := sdl
330333endif
334endif
331335
332336#-------------------------------------------------
333337# which 3rdparty library to build;
trunk/scripts/src/3rdparty.lua
r250321r250322
371371      defines {
372372         "LUA_COMPAT_ALL",
373373      }
374   if not (_OPTIONS["targetos"]=="windows") then
374   if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") then
375375      defines {
376376         "LUA_USE_POSIX",
377377      }
trunk/scripts/src/osd/modules.lua
r250321r250322
356356}
357357
358358if not _OPTIONS["NO_USE_MIDI"] then
359   if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "emscripten" or _OPTIONS["targetos"] == "os2" then
359   if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" or _OPTIONS["targetos"] == "os2" then
360360      _OPTIONS["NO_USE_MIDI"] = "1"
361361   else
362362      _OPTIONS["NO_USE_MIDI"] = "0"
r250321r250322
379379
380380
381381if not _OPTIONS["USE_QTDEBUG"] then
382   if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "emscripten" or _OPTIONS["targetos"] == "os2" then
382   if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" or _OPTIONS["targetos"] == "os2" then
383383      _OPTIONS["USE_QTDEBUG"] = "0"
384384   else
385385      _OPTIONS["USE_QTDEBUG"] = "1"


Previous 199869 Revisions Next


© 1997-2024 The MAME Team