mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
Add "static" include dir when compiling native_mixed.
This commit is contained in:
@ -52,10 +52,5 @@ class NativeMixed(NativePlatformInfo):
|
||||
env['PATH'] = ':'.join([pj(static_install_dir, 'bin')] + [env['PATH']])
|
||||
pkgconfig_path = pj(static_install_dir, static_buildEnv.libprefix, 'pkgconfig')
|
||||
env['PKG_CONFIG_PATH'] = ':'.join([env['PKG_CONFIG_PATH'], pkgconfig_path])
|
||||
return env
|
||||
|
||||
def set_comp_flags(self, env):
|
||||
super().set_comp_flags(env)
|
||||
static_platform = self.get_platform('native_static')
|
||||
static_install_dir = static_platform.buildEnv.install_dir
|
||||
env['CPPFLAGS'] = " ".join(['-I'+pj(static_install_dir, 'include'), env['CPPFLAGS']])
|
||||
return env
|
||||
|
Reference in New Issue
Block a user