Ludovic Courtès wrote:
Hi,
Dan McMahill <[EMAIL PROTECTED]> writes:
I'm also working on getting this going on Solaris-2.9/sparc but am not
quite to the testsuite part. I have a few bug fix patches there
too. Once I get my various problems worked out, I'll submit a more
cleaned up set of patches.
see the attached file for most of my patches.
[...]
--- guile-config/guile-config.in.orig 2006-09-20 00:19:02.000000000 +0000
+++ guile-config/guile-config.in
@@ -155,7 +155,7 @@
(if (or (string=? libdir "/usr/lib")
(string=? libdir "/usr/lib/"))
""
- (string-append "-L" (get-build-info 'libdir)))
+ (string-append "-Wl,-R" (get-build-info 'libdir) "
-L" (get-build-info 'libdir)))
(string-join other-flags)
)))
Can you explain why this is needed? `guile-config' is only used by
applications that link against Guile. Did you have troubles compiling
such applications?
With that I don't have to modify the guile-config output. In other
words by default I might just get "-L/my/guile/path/lib" where I may
actually want "-L/my/guile/path/lib -Wl,-R/my/guile/path/lib".
Besides, `-Wl,-R' can probably not be considered portable.
which is why one would need a test for it.
Anyway, I figured this one was questionable for general consumption
which is why I kept it apart from the others.
-Dan
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user