in reply to Re^2: Link Net::SSLeay to custom-built OpenSSL
in thread Link Net::SSLeay to custom-built OpenSSL

Can I change the gcc options? Makefile.PL seems to ignore LDFLAGS.

IIRC, you can say

dynamic_lib => { OTHERLDFLAGS => '-R...' }

(untested)

Replies are listed 'Best First'.
Re^4: Link Net::SSLeay to custom-built OpenSSL
by RachunZero (Novice) on Feb 04, 2011 at 19:18 UTC
    Thanks again :-) My lazy secular nature made me do:
    mv Makefile Makefile.tmp nawk -v d=$OPENSSL_DIR ' /OTHERLDFLAGS =/ { print $0" -R "d"/lib" } ! +/OTHERLDFLAGS =/ { print $0 }' Makefile.tmp > Makefile