aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-02-18 22:25:40 -0500
committerCalvin Rose <calsrose@gmail.com>2019-02-18 22:25:40 -0500
commitdbcbb4466dbab9d101cc4bb4f65b6f8151013cef (patch)
tree79fa08743b3dbd301b45a3f053057f5edbdf645e /tools
parentInclude header path when building modules. (diff)
We don't need to add module/\*headerpath\*.
We can just dump janet.h into the lib folder as well.
Diffstat (limited to 'tools')
-rw-r--r--tools/cook.janet2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cook.janet b/tools/cook.janet
index 97d24fa6..28597eca 100644
--- a/tools/cook.janet
+++ b/tools/cook.janet
@@ -96,7 +96,7 @@
(def LD (if is-win "link" (string CC " -shared")))
(def CFLAGS (string
(if is-win "/I" "-I")
- module/*headerpath*
+ module/*syspath*
(if is-win " /O" " -std=c99 -Wall -Wextra -fpic -O")
OPTIMIZE))