| Summary: | configure --without-rpath is incomplete | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Dan Astoorian <djast> | ||||
| Component: | Build system | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | ||||||
| Priority: | P2 | ||||||
| Version: | -current | ||||||
| Hardware: | SPARC | ||||||
| OS: | Solaris | ||||||
| Attachments: |
|
||||||
Created attachment 508 [details]
fix --without-rpath
Please try this patch.
(My autoconf is ancient; Tim sent me the configure script for 3.7.1p2 produced with the patch applied.) The fix seems to work for me: the Makefile is produced without the -R option for /usr/local/lib, as desired, and the 3.7.1p2 client and server compile and run okay. Thanks. I've appiead the patch to HEAD and the V_3_7 branch. Mass change of RESOLVED bugs to CLOSED |
The --without-rpath flag to ./configure is supposed to mean "Disable auto-added -R linker paths". However, the "*-*-solaris*" section in configure.ac contains LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" need_dash_r=1 which includes the -R option unconditionally. Other places within configure.ac (e.g., when determining linker options for openssl, zlib, etc.) correctly check whether need_dash_r has been unset via --without-rpath before including -R options for them.