diff options
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", |