Fix GCC with zstd on CCentOS 7 where it doesn't consider the lib64 directory (#23169)

This commit is contained in:
Harmen Stoppels 2021-04-21 18:25:14 +02:00 committed by GitHub
parent a97ef832d9
commit febeca2b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -464,7 +464,10 @@ def configure_args(self):
options.append('--with-system-zlib') options.append('--with-system-zlib')
if 'zstd' in spec: 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. # Enabling language "jit" requires --enable-host-shared.
if 'languages=jit' in spec: if 'languages=jit' in spec: