[ndnSIM] Using openssl with ndnSIM
cghali at uci.edu
cghali at uci.edu
Wed May 8 19:03:36 PDT 2013
Hi all,
I am trying to use openssl with ndnSIM. I spend the last several hours
trying to link the crypto library with waf and I finally managed to do it.
Apparently, adding the libray to LINKFLAGS_EXTRA did not help, although
-lcrypto is added to the g++ build command (which can be verified using
the verbose mode when running waf). The way how I fixed it is by adding
this line at the beginning of the build function in wscript
bld.env['LIB_PYEMBED'] = bld.env['LIB_PYEMBED'] + ["crypto"]
For some reason the crypto library should be linked at the end, that's why
I appended it to LIB_PYEMBED which is being evaluated at the end. Is there
a clean way to do this?
Thanks for the help,
Cesar
More information about the ndnSIM
mailing list