perl: bzip2 and zlib may be installed under <prefix>/lib64 (#24752)
This commit is contained in:
parent
663c37cac4
commit
2914f9076e
@ -282,10 +282,10 @@ def setup_build_environment(self, env):
|
||||
# This is how we tell perl the locations of bzip and zlib.
|
||||
env.set('BUILD_BZIP2', 0)
|
||||
env.set('BZIP2_INCLUDE', spec['bzip2'].prefix.include)
|
||||
env.set('BZIP2_LIB', spec['bzip2'].prefix.lib)
|
||||
env.set('BZIP2_LIB', spec['bzip2'].libs.directories[0])
|
||||
env.set('BUILD_ZLIB', 0)
|
||||
env.set('ZLIB_INCLUDE', spec['zlib'].prefix.include)
|
||||
env.set('ZLIB_LIB', spec['zlib'].prefix.lib)
|
||||
env.set('ZLIB_LIB', spec['zlib'].libs.directories[0])
|
||||
|
||||
@run_after('install')
|
||||
def filter_config_dot_pm(self):
|
||||
|
Loading…
Reference in New Issue
Block a user