shithub: freetype+ttf2subf

Download patch

ref: e503527c64bed0e7f7a0f69a72729884078b2886
parent: 8a2503aaefea9de37f06a172e0fcc9559b8248ab
author: Tom Kacvinsky <[email protected]>
date: Sat Nov 11 21:55:25 EST 2000

Added a --libtool option, which returns the absolute path to the
libtool convenience library.

git/fs: mount .git/fs: mount/attach disallowed
--- a/builds/cygwin/freetype-config.in
+++ b/builds/cygwin/freetype-config.in
@@ -13,6 +13,7 @@
  [--exec-prefix[=DIR]]
  [--version]
  [--libs]
+ [--libtool]
  [--cflags]
 EOF
   exit $1
@@ -53,6 +54,9 @@
   --libs)
     echo_libs=yes
     ;;
+  --libtool)
+    echo_libtool=yes
+    ;;
   *)
     usage 1 1>&2
     ;;
@@ -77,6 +81,10 @@
 if test "$echo_libs" = "yes"; then
  libs="-lfreetype"
  echo -L@libdir@ $libs
+fi
+if test "$echo_libtool" = "yes"; then
+ convlib="libfreetype.la"
+ echo @libdir@/$convlib
 fi
 
 # EOF
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -13,6 +13,7 @@
  [--exec-prefix[=DIR]]
  [--version]
  [--libs]
+ [--libtool]
  [--cflags]
 EOF
   exit $1
@@ -53,6 +54,9 @@
   --libs)
     echo_libs=yes
     ;;
+  --libtool)
+    echo_libtool=yes
+    ;;
   *)
     usage 1 1>&2
     ;;
@@ -77,6 +81,10 @@
 if test "$echo_libs" = "yes"; then
  libs="-lfreetype"
  echo -L@libdir@ $libs
+fi
+if test "$echo_libtool" = "yes"; then
+ convlib="libfreetype.la"
+ echo @libdir@/$convlib
 fi
 
 # EOF