On Wed, Jul 19, 2006 at 12:26:36PM -0500, Albert Chin wrote:
> On Mon, Jul 17, 2006 at 09:49:20PM +0100, Patrick Welche wrote:
> > X_CFLAGS = -I/usr/X11R6/include
> > X_EXTRA_LIBS =
> > X_LIBS = -L/usr/X11R6/lib -R/usr/X11R6/lib
> > X_PRE_LIBS = -lSM -lICE
> >
> > so the -R made it, and all is well :-)
>
> I thought you wanted -Wl,-rpath,/usr/X11R6/lib though?
What you say is true. Luckily for me
For compatibility with other ELF linkers, if the `-R' option is
followed by a directory name, rather than a file name, it is
treated as the `-rpath' option.
so I get there by the back door. The original problem was that there was
no -rpath -rpath-link nor -R.
Cheers,
Patrick
(from libtool --config:
# How to pass a linker flag through the compiler.
wl="-Wl,"
# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist
hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
)
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf