| @@ -1,13 +1,13 @@ | | | @@ -1,13 +1,13 @@ |
1 | $NetBSD: patch-ac,v 1.1 2001/07/22 16:45:46 wiz Exp $ | | 1 | $NetBSD: patch-ac,v 1.2 2014/12/10 23:25:15 joerg Exp $ |
2 | | | 2 | |
3 | --- configuration/Makefile.din.orig Thu Sep 3 15:44:26 1998 | | 3 | --- configuration/Makefile.din.orig Thu Sep 3 15:44:26 1998 |
4 | +++ configuration/Makefile.din | | 4 | +++ configuration/Makefile.din |
5 | @@ -93,7 +93,7 @@ | | 5 | @@ -93,7 +93,7 @@ |
6 | # Define library and include paths for the X system if headers and | | 6 | # Define library and include paths for the X system if headers and |
7 | # libraries can not be found in standard places | | 7 | # libraries can not be found in standard places |
8 | X_CFLAGS = @X_CFLAGS@ # REPORT_IF_BUG | | 8 | X_CFLAGS = @X_CFLAGS@ # REPORT_IF_BUG |
9 | -X_LIBS = @X_LIBS@ # REPORT_IF_BUG | | 9 | -X_LIBS = @X_LIBS@ # REPORT_IF_BUG |
10 | +X_LIBS = -Wl,-R${X11BASE}/lib @X_LIBS@ # REPORT_IF_BUG | | 10 | +X_LIBS = ${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib @X_LIBS@ # REPORT_IF_BUG |
11 | | | 11 | |
12 | # Any extra libraries needed to be linked after all X libraries | | 12 | # Any extra libraries needed to be linked after all X libraries |
13 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ # REPORT_IF_BUG | | 13 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ # REPORT_IF_BUG |