Fix from HEAD.
This commit is contained in:
parent
974d52fdb8
commit
95bffa1a1f
2 changed files with 7 additions and 3 deletions
|
@ -748,9 +748,13 @@ PROCESS_ARGS:
|
|||
{
|
||||
$withargs{"krb5-".$1}=$2;
|
||||
}
|
||||
elsif (/^--with-zlib-(lib|include)=(.*)$/)
|
||||
elsif (/^--with-zlib-lib=(.*)$/)
|
||||
{
|
||||
$withargs{"zlib-".$1}=$2;
|
||||
$withargs{"zlib-lib"}=$1;
|
||||
}
|
||||
elsif (/^--with-zlib-include=(.*)$/)
|
||||
{
|
||||
$withargs{"zlib-include"}="-I$1";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -291,7 +291,7 @@ for (;;)
|
|||
{ $cflags .= " $val";}
|
||||
|
||||
if ($key eq "ZLIB_INCLUDE")
|
||||
{ $cflags .= " -I$val";}
|
||||
{ $cflags .= " $val" if $val ne "";}
|
||||
|
||||
if ($key eq "LIBZLIB")
|
||||
{ $zlib_lib = "$val" if $val ne "";}
|
||||
|
|
Loading…
Reference in a new issue