Go to file
lukem 58d2d9a196 Set _LIBLDOPTS to set -Wl,-rpath-link -R -L appropriately based
on the setting of ${SHLIBDIR} and ${SHLIBINSTALLDIR} (_not_ ${_LIBSODIR}).

Fixes cruel and unusual ^W^W^W obscure native-build and not-so-obscure
cross-builds problems I was having with shared libraries with a
non-base LIBDIR (e.g, /usr/X11R6/lib) that use LDADD to pull in other
libraries from /usr/lib (such as libm) which are really in /lib and the
symlink from ${DESTDIR}/usr/lib/libm.so to /lib/libm.so.N.M was confusing
the linker.  Stuffing -rpath-link ${DESTDIR}/lib in solves the problem.

This should mean that shared libraries that depend upon other shared
libraries in other directories should DTRT in a DESTDIR (cross-)build...

Inspired by _PROGLDOPTS in <bsd.prog.mk>
2003-09-30 07:24:23 +00:00
bin Fix rmdir -p x/y/z// 2003-09-29 21:11:15 +00:00
crypto Fix what is obviously a bug: valloc() -> vmalloc(). Now racoon(8) doesn't core 2003-09-25 01:00:32 +00:00
dist re-add sgi file, comment out mysterious lines with type "addr" 2003-09-25 22:16:06 +00:00
distrib Invoke ./checkflist with ${CHECKFLIST_FLAGS}, so that the end-user 2003-09-30 06:26:37 +00:00
doc Note new i2c code. 2003-09-30 00:39:19 +00:00
etc turn off calendar -a by default and mention why. 2003-09-30 00:23:23 +00:00
games
gnu In the thread support functions only transfer those registers, that fit 2003-09-29 17:47:26 +00:00
include
lib new_item fixes: 2003-09-29 12:32:24 +00:00
libexec Make the effect of the hack clearer. 2003-09-24 10:25:26 +00:00
regress Maybe I'm just slow, but having diffs in the wrong direction confuses me... 2003-09-30 04:20:24 +00:00
rescue
sbin Forgot the date.... 2003-09-27 19:07:12 +00:00
share Set _LIBLDOPTS to set -Wl,-rpath-link -R -L appropriately based 2003-09-30 07:24:23 +00:00
sys Add P1003_1B_SEMAPHORE. 2003-09-30 03:57:36 +00:00
tools
usr.bin available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +00:00
usr.sbin Add <string.h> include for memcpy. 2003-09-27 19:35:14 +00:00
x11 Use '${DESTDIR}${somepathvar}' instead of '${DESTDIR}/${somepathvar}'. 2003-09-30 06:41:29 +00:00
build.sh Revert part of previous commit and do NOT explicitly set BSDSRCDIR in the 2003-09-24 00:24:53 +00:00
BUILDING regenerate for "%" prompt update 2003-09-29 07:58:01 +00:00
Makefile
Makefile.inc
UPDATING