$NetBSD: patch-ad,v 1.1 2006/03/22 23:15:30 joerg Exp $ --- Imakefile.orig 2006-03-22 23:05:04.000000000 +0000 +++ Imakefile @@ -134,7 +134,7 @@ CCOPTIONS = -Aa -D_HPUX_SOURCE -I/usr/in LOCAL_LIBRARIES = -L/usr/lib/$(MOTIF_VER) -lXm $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS) #else #ifndef XMLIB -XMLIB = -lXm +XMLIB = ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lXm #endif #ifdef XmClientLibs LOCAL_LIBRARIES = XmClientLibs $(SOCKS_LIBS)