From 18466246c1627349495134ee6f6081c3235b11c8 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Sun, 8 May 2022 15:15:21 -0700 Subject: [PATCH] Move the 'requires' statement into the root stanza.proj. --- compiler/stanza.proj | 16 ---------------- stanza.proj | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/compiler/stanza.proj b/compiler/stanza.proj index 7af335c4b..f852e6ad0 100644 --- a/compiler/stanza.proj +++ b/compiler/stanza.proj @@ -113,19 +113,3 @@ package stz/extern-intrinsics defined-in "stz-extern-intrinsics.stanza" package stz/packed-class-table defined-in "stz-packed-class-table.stanza" package stz/vm-opcodes defined-in "stz-vm-opcodes.stanza" package stz/asmjit defined-in "stz-asmjit.stanza" -package stz/asmjit requires : - ccflags: - on-platform : - os-x : - "-L{.}/../bin" - "-lasmjit" - "-lc++" - linux : - "-L{.}/../bin" - "-lasmjit" - "-lstdc++" - "-lrt" - windows : - "-L{.}/../bin" - "-lasmjit" - "-lstdc++" diff --git a/stanza.proj b/stanza.proj index cc11eb2d5..0e5368ad4 100644 --- a/stanza.proj +++ b/stanza.proj @@ -19,3 +19,20 @@ compile file "build/sha256.o" from "core/sha256.c" : os-x : "cc -std=gnu99 {.}/core/sha256.c -c -o {.}/build/sha256.o -O3" linux : "cc -std=gnu99 {.}/core/sha256.c -c -o {.}/build/sha256.o -O3 -fPIC" windows : "gcc -std=gnu99 {.}\\core\\sha256.c -c -o {.}\\build\\sha256.o -O3" + +package stz/asmjit requires : + ccflags: + on-platform : + os-x : + "-L{.}/bin" + "-lasmjit" + "-lc++" + linux : + "-L{.}/bin" + "-lasmjit" + "-lstdc++" + "-lrt" + windows : + "-L{.}/bin" + "-lasmjit" + "-lstdc++" \ No newline at end of file