# HG changeset patch # User Eli Zaretskii # Date 1022862682 0 # Node ID 5265807751c928b0aadcb8e29932f547f7427a5b # Parent 0d76cec6c7773012356dc85cb1ac7e5915ae5609 Include /usr/pkg in the run time shared library path. diff -r 0d76cec6c777 -r 5265807751c9 src/s/netbsd.h --- 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