changeset 45600:5265807751c9

Include /usr/pkg in the run time shared library path.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 31 May 2002 16:31:22 +0000
parents 0d76cec6c777
children b5294e5e5b92
files src/s/netbsd.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/netbsd.h	Fri May 31 15:13:32 2002 +0000
+++ b/src/s/netbsd.h	Fri May 31 16:31:22 2002 +0000
@@ -77,7 +77,7 @@
    says where to find X windows at run time.  We convert it to a -rpath option
    which is what OSF1 uses.  */
 #define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
-#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib
+#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib
 
 /* The following is needed to make `configure' find Xpm, Xaw3d and
    image include and library files if using /usr/bin/gcc.  That