Configure: recognize -framework as linker option [on Apple OSes].
[openssl.git] / Configure
index 617ee52cac817d035ecbaa58ff3ff2fcf5b9bb3b..66541be41d51305d0bd5ed79eb346f207889676b 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -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