mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Move include path logic for develop into setup.py
This commit is contained in:
4
setup.py
4
setup.py
@@ -438,6 +438,10 @@ def init_env(
|
||||
set_arches(cflags)
|
||||
set_arches(ldflags)
|
||||
|
||||
if os.environ.get("DEVELOP_ROOT"):
|
||||
cflags.insert(0, f'-I{os.environ["DEVELOP_ROOT"]}/include')
|
||||
ldpaths.insert(0, f'-L{os.environ["DEVELOP_ROOT"]}/lib')
|
||||
|
||||
return Env(cc, cppflags, cflags, ldflags, library_paths, ccver=ccver, ldpaths=ldpaths, vcs_rev=vcs_rev)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user