Add the '-I' to CPPFLAGS env var.

Autotools uses it to found include file (zlib.h).
This commit is contained in:
Matthieu Gautier 2017-02-07 12:10:40 +01:00
parent 221849001e
commit c705463d51
1 changed files with 1 additions and 0 deletions

View File

@ -367,6 +367,7 @@ class BuildEnv:
if env['LD_LIBRARY_PATH'] if env['LD_LIBRARY_PATH']
else ld_library_path else ld_library_path
) )
env['CPPFLAGS'] = '-I'+pj(self.install_dir, 'include')
env['LDFLAGS'] = '-L'+pj(self.install_dir, 'lib') env['LDFLAGS'] = '-L'+pj(self.install_dir, 'lib')
return env return env