From 99ef2748485ff8ef67a0595b62912f176a7a593c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 11 Jan 2008 18:55:46 +0000 Subject: [PATCH] Fix rpathness on NetBSD again. --- mk/prog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})