Ignore zlib related options in mk1mf.pl
This commit is contained in:
@@ -1056,7 +1056,7 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$withargs{"krb5-lib"} .= " -lresolv"
|
$withargs{"krb5-lib"} .= " -lresolv"
|
||||||
if ("$lresolv" ne "");
|
if ("$lresolv" ne "" && !$IsWindows);
|
||||||
$withargs{"krb5-include"} = "-I".$withargs{"krb5-dir"}."/include"
|
$withargs{"krb5-include"} = "-I".$withargs{"krb5-dir"}."/include"
|
||||||
if $withargs{"krb5-include"} eq "" &&
|
if $withargs{"krb5-include"} eq "" &&
|
||||||
$withargs{"krb5-dir"} ne "";
|
$withargs{"krb5-dir"} ne "";
|
||||||
|
|||||||
@@ -935,6 +935,8 @@ sub read_options
|
|||||||
elsif (/^shlib$/) { $shlib=1; }
|
elsif (/^shlib$/) { $shlib=1; }
|
||||||
elsif (/^dll$/) { $shlib=1; }
|
elsif (/^dll$/) { $shlib=1; }
|
||||||
elsif (/^shared$/) { } # We just need to ignore it for now...
|
elsif (/^shared$/) { } # We just need to ignore it for now...
|
||||||
|
elsif (/^zlib$/) { } # Ignore
|
||||||
|
elsif (/^zlib-dynamic$/){ } # Ignore
|
||||||
elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; }
|
elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; }
|
||||||
elsif (/^-[lL].*$/) { $l_flags.="$_ "; }
|
elsif (/^-[lL].*$/) { $l_flags.="$_ "; }
|
||||||
elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/)
|
elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/)
|
||||||
|
|||||||
Reference in New Issue
Block a user