mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Move include path logic for develop into setup.py
This commit is contained in:
parent
9dd623658a
commit
aab1bf305a
2 changed files with 5 additions and 3 deletions
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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue