which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
13 lines
335 B
Text
13 lines
335 B
Text
$NetBSD: patch-aa,v 1.2 2004/08/27 06:29:10 jlam Exp $
|
|
|
|
--- Makefile.in.orig Fri Jul 18 11:31:51 2003
|
|
+++ Makefile.in Fri Jul 18 11:32:49 2003
|
|
@@ -80,7 +80,7 @@
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
-LDFLAGS = @LDFLAGS@
|
|
+LDFLAGS = @LDFLAGS@ ${COMPILER_RPATH_FLAG}${X11PREFIX}/lib
|
|
LIBS = @LIBS@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
X_LIBS = @X_LIBS@
|