On Saturday 14 January 2006 12:02, Lee Thompson wrote:
> How does this approach look? Should be more generic.
looks much more sane
> +# --with-rpath Use rpath linking, only makes sense with the use of
> shared.
might want to say the "shared libraries" or "the shared option"
> +# Default is to not use. If specified without a
> value, it
> +# guesses the gnu linker "-Wl,-R${prefix}/lib"
> switch
might want to add a third check as it's a bit unintuitive that you're setting
the *ldflags* rather than just the path ...
--with-rpath=-Wl,-R/booga
elsif (/^--with-rpath=-(.*)$/)
$sldflags.=$1." ";
--with-rpath=/booga
elsif (/^--with-rpath=(.*)$/)
$sldflags.=-Wl,-R$1." ";
--with-rpath
elsif (/^--with-rpath$/)
$sldflags.="-Wl,-R$prefix/lib ";
-mike
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]