diff options
author | 2016-03-28 22:26:30 -0500 | |
---|---|---|
committer | 2016-03-28 22:46:00 -0500 | |
commit | 18d7e34620112a71a50b440f11564ecc7ef169a6 (patch) | |
tree | 5cb5077da15fc442e6e78e2bd2f31e52944c98a0 /scripts/genie.lua | |
parent | 9d9c8fad6a0e5ff433fd6a97b4921af10e074f96 (diff) |
cleanup build includes (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 645bf99ed8f..88af2217c8f 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -366,7 +366,7 @@ newoption { } } -dofile("extlib.lua") +dofile ("extlib.lua") if _OPTIONS["SHLIB"]=="1" then LIBTYPE = "SharedLib" @@ -622,30 +622,17 @@ else end end --- need to ensure FLAC functions are statically linked -if not _OPTIONS["with-system-flac"] then +if _OPTIONS["with-system-jpeg"]~=nil then defines { - "FLAC__NO_DLL", - } - end - -if _OPTIONS["with-system-jpeg"] then - defines { - "USE_SYSTEM_JPEGLIB", - } - end - -if _OPTIONS["with-system-portmidi"] then - defines { - "USE_SYSTEM_PORTMIDI", + "XMD_H", } - end +end -if _OPTIONS["with-system-sqlite3"] then +if _OPTIONS["with-system-flac"]~=nil then defines { - "USE_SYSTEM_SQLITE", + "FLAC__NO_DLL", } - end +end if _OPTIONS["NOASM"]=="1" then defines { @@ -667,11 +654,6 @@ if not _OPTIONS["FORCE_DRC_C_BACKEND"] then end end --- define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used ---ifneq ($(BUILD_JPEGLIB),1) ---DEFS += -DUSE_SYSTEM_JPEGLIB ---endif - defines { "LUA_COMPAT_ALL", "LUA_COMPAT_5_1", |