Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Link Net::SSLeay to custom-built OpenSSL

by Anonyrnous Monk (Hermit)
on Feb 04, 2011 at 18:07 UTC ( #886263=note: print w/ replies, xml ) Need Help??


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)


Comment on Re^3: Link Net::SSLeay to custom-built OpenSSL
Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-06 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls