curl / curl-fuzzer

Quality assurance testing for the curl project
MIT License
82 stars 29 forks source link

scripts: fix ssl builds on x86_64 #80

Closed elopez closed 6 months ago

elopez commented 6 months ago

libssl.a is installed on $PREFIX/lib64/ on x86_64 builds, and the scripts here are not aware of this location. Always use $PREFIX/lib/ to keep things uniform.

jay commented 6 months ago

I do the same thing in Ubuntu. It's strange that OpenSSL decided to make lib64 the default even in distros that don't use it. Also I set rpath but use -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' to treat the rpath as a runpath since in-tree builds often need to use LD_LIBRARY_PATH for testing (and that overrides runpath but not rpath).