mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Have dev.sh set SLANGC as well
This commit is contained in:
@@ -393,6 +393,7 @@ func build(args []string) {
|
|||||||
}
|
}
|
||||||
root := root_dir()
|
root := root_dir()
|
||||||
os.Setenv("DEVELOP_ROOT", root)
|
os.Setenv("DEVELOP_ROOT", root)
|
||||||
|
os.Setenv("SLANGC", filepath.Join(root, "bin", "slangc"))
|
||||||
prepend("PKG_CONFIG_PATH", filepath.Join(root, "lib", "pkgconfig"))
|
prepend("PKG_CONFIG_PATH", filepath.Join(root, "lib", "pkgconfig"))
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
os.Setenv("PKGCONFIG_EXE", filepath.Join(root, "bin", "pkg-config"))
|
os.Setenv("PKGCONFIG_EXE", filepath.Join(root, "bin", "pkg-config"))
|
||||||
|
|||||||
Reference in New Issue
Block a user