$NetBSD: patch-av,v 1.1 2003/05/19 19:43:17 jschauma Exp $ --- config/cf/linux.cf.orig Mon May 19 14:30:58 2003 +++ config/cf/linux.cf Mon May 19 14:30:22 2003 @@ -1,6 +1,11 @@ XCOMM platform: $TOG: linux.cf /main/36 1997/06/16 22:21:03 kaleb $ XCOMM platform: $XFree86: xc/config/cf/linux.cf,v 3.57.2.19 1999/09/04 09:12:27 dawes Exp $ +#define SharedLibraryLoadFlags -shared -Wl,-rpath,$(PREFIX)/lib -Wl,-rpath,$(X11PREFIX)/lib +#ifndef ExtraLoadFlags +#define ExtraLoadFlags -Wl,-rpath,$(PREFIX)/lib -Wl,-rpath,$(X11PREFIX)/lib +#endif + #ifndef LinuxElfDefault #define LinuxElfDefault YES #endif