On Tue, Oct 28, 2003 at 08:13:42AM +0100, Matthieu Herrb wrote:
> > date: 2003/05/05 16:12:27; author: dawes; state: Exp; lines: +29 -15
> > 159. Make freetype-config more useful on NetBSD (#5693, Thomas Klausner).
> >
> > diff -u -d -b -w -r1.1.1.4 -r1.2
> > --- freetype-config.in 15 Feb 2002 00:33:20 -0000 1.1.1.4
> > +++ freetype-config.in 5 May 2003 16:12:27 -0000 1.2
> > @@ -90,7 +90,7 @@
> > if test "$echo_libs" = "yes" ; then
> > libs="-lfreetype"
> > if test "@libdir@" != "/usr/lib" ; then
> > - echo [EMAIL PROTECTED]@ $libs
> > + echo -Wl,[EMAIL PROTECTED]@ [EMAIL PROTECTED]@ $libs
> > else
> > echo $libs
> > fi
> >
> > Unfortunately, -R is not a recognized option to ld on Darwin and
> > perhaps other platforms as well. This should be conditionalized in
> > some way. My configure-foo is fairly weak, but it appears that the
> > hardcode_libdir_flag_spec is the configure option that should be used
> > here, rather then a hardwired ELF loader specific option.
Furthermore, check for /usr/lib is wrong too. E.g. on various 64-bit Linux
arches /usr/lib64 is searched by default and definitely shouldn't be
added to DT_RPATH needlessly.
See libtool's sys_lib_dlsearch_path handling...
Jakub
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel