From 86b65da2bb85368e0f2b3ca284b0cd9dec0a7a5f Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 19 Oct 2004 06:26:45 +0000 Subject: [PATCH] Fix on Solaris linker. Patch from Andre Hentz. [SVN r25780] --- src/tools/gcc.jam | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 21d7e6cd7..6800862d2 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -216,7 +216,9 @@ rule init-link-flags ( linker ) { flags gcc.link OPTIONS off : -Wl,-s ; flags gcc.link RPATH ; - # is ignored. Is this correct? AH 2004/10/16 + # Solaris linker does not have a separate -rpath-link, but + # allows to use -L for the same purpose. + flags gcc.link LINKPATH ; # This permits shared libraries with non-PIC code on Solaris # VP, 2004/09/07: Now that we have -fPIC hardcode in link.dll,