libpng: zlib flags more elegant (#5656)
This commit is contained in:
parent
5d13f236b4
commit
4ba7359d55
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ def configure_args(self):
|
|||
# not honored, see
|
||||
# https://sourceforge.net/p/libpng/bugs/210/#33f1
|
||||
# '--with-zlib=' + self.spec['zlib'].prefix,
|
||||
'CFLAGS=-I{0}'.format(self.spec['zlib'].prefix.include),
|
||||
'LDFLAGS=-L{0}'.format(self.spec['zlib'].prefix.lib)
|
||||
'CFLAGS={0}'.format(self.spec['zlib'].headers.include_flags),
|
||||
'LDFLAGS={0}'.format(self.spec['zlib'].libs.search_flags)
|
||||
]
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue