Add the lib64 path to LDFLAGS.

This commit is contained in:
Matthieu Gautier 2017-03-13 18:18:11 +01:00
parent 9d45158f42
commit fa17b5e200
1 changed files with 3 additions and 1 deletions

View File

@ -364,7 +364,9 @@ class BuildEnv:
])
env['CPPFLAGS'] = " ".join(['-I'+pj(self.install_dir, 'include'), env['CPPFLAGS']])
env['LDFLAGS'] = " ".join(['-L'+pj(self.install_dir, 'lib'), env['LDFLAGS']])
env['LDFLAGS'] = " ".join(['-L'+pj(self.install_dir, 'lib'),
'-L'+pj(self.install_dir, 'lib64'),
env['LDFLAGS']])
return env
def run_command(self, command, cwd, context, env=None, input=None, cross_path_only=False):