aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/s/netbsd.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 33f9ab7fac..7f7c516c69 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-31 Eli Zaretskii <[email protected]>
+
+ * s/netbsd.h: Include /usr/pkg in the run time shared library path.
+
2002-05-30 Richard M. Stallman <[email protected]>
* window.c (Fset_window_configuration): Correct the handling
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 354ace7e9a..7ed08ec05e 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -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