Configure: recognize -framework as linker option [on Apple OSes].

This is handy for internal iOS tests, when you have to make it work
in sandbox.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Andy Polyakov 2017-04-03 22:31:05 +02:00
parent b98530d6e0
commit b7438b430b
1 changed files with 4 additions and 0 deletions

View File

@ -743,6 +743,10 @@ while (@argvcopy)
{
$libs.=$_." ";
}
elsif (/^-framework$/)
{
$libs.=$_." ".shift(@argvcopy)." ";
}
elsif (/^-rpath$/ or /^-R$/)
# -rpath is the OSF1 rpath flag
# -R is the old Solaris rpath flag