diff options
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rw-r--r-- | scripts/src/3rdparty.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 941a2988bf2..41909b6c271 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -2238,6 +2238,14 @@ project "asmjit" configuration { } + if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then + if string.find(_OPTIONS["gcc"], "clang") and (version < 80000) then + defines { + "TARGET_OS_OSX=1", + } + end + end + files { MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit.h", MAME_DIR .. "3rdparty/asmjit/src/asmjit/core.h", |