$NetBSD$

--- configuration/Makefile.din.orig	Thu Sep  3 15:44:26 1998
+++ configuration/Makefile.din
@@ -93,7 +93,7 @@
 # Define library and include paths for the X system if headers and
 # libraries can not be found in standard places
 X_CFLAGS           = @X_CFLAGS@ # REPORT_IF_BUG
-X_LIBS             = @X_LIBS@ # REPORT_IF_BUG
+X_LIBS             = -Wl,-R${X11BASE}/lib @X_LIBS@ # REPORT_IF_BUG
 
 # Any extra libraries needed to be linked after all X libraries
 X_EXTRA_LIBS       = @X_EXTRA_LIBS@ # REPORT_IF_BUG
