mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 08:30:26 +00:00
Remove JANER_HEADERPATH from boot process.
That is a jpm thing.
This commit is contained in:
parent
a992644c62
commit
9909adb665
@ -171,7 +171,7 @@ janetc = custom_target('janetc',
|
||||
capture : true,
|
||||
command : [
|
||||
janet_boot, meson.current_source_dir(),
|
||||
'JANET_PATH', janet_path, 'JANET_HEADERPATH', header_path
|
||||
'JANET_PATH', janet_path
|
||||
])
|
||||
|
||||
janet_dependencies = [m_dep, dl_dep]
|
||||
|
@ -2124,11 +2124,10 @@
|
||||
###
|
||||
###
|
||||
|
||||
# Initialize syspath and header path
|
||||
# Initialize syspath
|
||||
(each [k v] (partition 2 (tuple/slice boot/args 2))
|
||||
(case k
|
||||
"JANET_PATH" (setdyn :syspath v)
|
||||
"JANET_HEADERPATH" (setdyn :headerpath v)))
|
||||
"JANET_PATH" (setdyn :syspath v)))
|
||||
|
||||
(defn make-env
|
||||
`Create a new environment table. The new environment
|
||||
@ -3521,7 +3520,6 @@
|
||||
(var *error-level* nil)
|
||||
|
||||
(if-let [jp (getenv-alias "JANET_PATH")] (setdyn :syspath jp))
|
||||
(if-let [jp (getenv-alias "JANET_HEADERPATH")] (setdyn :headerpath jp))
|
||||
(if-let [jprofile (getenv-alias "JANET_PROFILE")] (setdyn :profilepath jprofile))
|
||||
|
||||
(defn- get-lint-level
|
||||
|
Loading…
Reference in New Issue
Block a user