Fix desktop build

This commit is contained in:
Alexey Nagaev
2025-11-14 07:03:45 +03:00
parent 354e4a6a04
commit acf75749c2
2 changed files with 1 additions and 1 deletions

View File

@ -1894,7 +1894,6 @@ def set_sysroot_env():
if "linux" == host_platform() and config.option("sysroot") != "":
os.environ['PATH'] = config.option("sysroot") + "/usr/bin:" + get_env("PATH")
os.environ['LD_LIBRARY_PATH'] = config.get_custom_sysroot_lib()
os.environ['PKG_CONFIG_PATH'] = config.get_custom_sysroot_lib() + "/pkgconfig"
os.environ['CC'] = config.get_custom_sysroot_bin() + "/gcc"
os.environ['CXX'] = config.get_custom_sysroot_bin() + "/g++"
os.environ['CFLAGS'] = "--sysroot=" + config.option("sysroot")