Fix GCC with zstd on CCentOS 7 where it doesn't consider the lib64 directory (#23169)
This commit is contained in:
parent
a97ef832d9
commit
febeca2b05
1 changed files with 4 additions and 1 deletions
|
@ -464,7 +464,10 @@ def configure_args(self):
|
|||
options.append('--with-system-zlib')
|
||||
|
||||
if 'zstd' in spec:
|
||||
options.append('--with-zstd={0}'.format(spec['zstd'].prefix))
|
||||
options.append('--with-zstd-include={0}'.format(
|
||||
spec['zstd'].headers.directories[0]))
|
||||
options.append('--with-zstd-lib={0}'.format(
|
||||
spec['zstd'].libs.directories[0]))
|
||||
|
||||
# Enabling language "jit" requires --enable-host-shared.
|
||||
if 'languages=jit' in spec:
|
||||
|
|
Loading…
Reference in a new issue