aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 18:55:46 +0000
committerRoy Marples <roy@marples.name>2008-01-11 18:55:46 +0000
commit99ef2748485ff8ef67a0595b62912f176a7a593c (patch)
treeacb666099d904ffc1a3bbdeddff92fbd2e59c822
parentf0c0391088f295de03bd99c68f68fbaca0a15fef (diff)
Fix rpathness on NetBSD again.
-rw-r--r--mk/prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index a45543c8..cf1ea0a9 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -9,7 +9,7 @@ include ${MK}/sys.mk
# Some systems don't include /lib in their standard link path
# so we should embed it if different
_RPATH_SH= if test "${SHLIBDIR}" != "/usr/${LIBNAME}"; then \
- echo "-Wl,-rpath-link,${DESTDIR}${SHLIBDIR}:${DESTDIR}/usr/lib"; \
+ echo "-Wl,-rpath=/${LIBNAME}"; \
fi
_RPATH!= ${_RPATH_SH}
LDFLAGS+= ${_RPATH}$(shell ${_RPATH_SH})