The following revision to xc/extras/freetype2/builds/unix/freetype-config.in is XFree86 specific and not in the Freetype tree:

revision 1.2
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).

cvs diff -r xf-4_3-branch -r 1.2 freetype-config.in
Index: freetype-config.in
===================================================================
RCS file: /home/x-cvs/xc/extras/freetype2/builds/unix/freetype-config.in,v
retrieving revision 1.1.1.4
retrieving revision 1.2
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.

--Torrey
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to