mirror of
https://github.com/janet-lang/janet
synced 2025-11-02 16:43:02 +00:00
Set module/*syspath* to JANET_PATH at build time
The takes out the hardcoded reference to /usr/local/
This commit is contained in:
3
Makefile
3
Makefile
@@ -35,7 +35,8 @@ MANPATH?=$(PREFIX)/share/man/man1/
|
||||
DEBUGGER=gdb
|
||||
|
||||
CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -fpic -O2 -fvisibility=hidden \
|
||||
-DJANET_BUILD=$(JANET_BUILD)
|
||||
-DJANET_BUILD=$(JANET_BUILD) \
|
||||
-DJANET_DEFAULT_PATH="\"$(JANET_PATH)\""
|
||||
|
||||
UNAME:=$(shell uname -s)
|
||||
ifeq ($(UNAME), Darwin)
|
||||
|
||||
Reference in New Issue
Block a user