>>>>> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes:
> I think you can get the exact same result by using the
> -Wl,-Bsymbolic flag. It will be recognized by Libtool,
> and passed to the linker. -Xlinker is a gcc equivalent
> to -Wl, so if I recall correctly, that would only work
> when using GCC. If using -Wl,-Bsymbolic does the trick
> even whey you're using libtool, then there is no need
> to alter Libtool.
I know about the -Wl flag. I some how got the idea that -Xlinker is a
libtool flag which will use the appropriate option to pass it to the linker,
I don't where I got that idea - it's obviously a gcc specific option.
> As for $ORIGIN, I think the same applies, just add
> -R $ORIGIN to your links.
> `-R LIBDIR'
> If OUTPUT-FILE is a program, add LIBDIR to its run-time path. If
> OUTPUT-FILE is a library, add -RLIBDIR to its DEPENDENCY_LIBS, so
> that, whenever the library is linked into a program, LIBDIR will
> be added to its run-time path.
Unfortunately that's not very portable. Tru64 needs -rpath as the flag, not
-R.
Ganesan
--
R. Ganesan ([EMAIL PROTECTED]) | Ph: 91-80-5731856 Ext: 2149
Novell India Development Center. | #include <std_disclaimer.h>
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool