mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Fixing mac build: negating Darwin ~~> OKaying linux
Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
8a8fc3432b
commit
cd033ddbe3
8 changed files with 9 additions and 57 deletions
|
|
@ -31,7 +31,7 @@ let () =
|
|||
template
|
||||
|> Str.global_replace (Str.regexp "%DEMO%") (demo^".x32")
|
||||
|> Str.global_replace (Str.regexp "%DEMOSRC%") demo
|
||||
|> Str.global_replace (Str.regexp "%COND%") {|(enabled_if (<> %{ocaml-config:os_type} "Darwin"))|}
|
||||
|> Str.global_replace (Str.regexp "%COND%") {|(enabled_if (= %{ocaml-config:os_type} "linux"))|}
|
||||
|> Str.global_replace (Str.regexp "%RUNTIME%") "../runtime32"
|
||||
|> Str.global_replace (Str.regexp "%STDLIB%") "../stdlib/x32"
|
||||
|> Str.global_replace (Str.regexp "%EXTRASWITCHES%") "-march=x86"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue