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

libtool convenience library.
david-pic-changes
Tom Kacvinsky 25 years ago
parent 8a2503aaef
commit e503527c64
  1. 8
      builds/cygwin/freetype-config.in
  2. 8
      builds/unix/freetype-config.in

@ -13,6 +13,7 @@ Options:
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--libtool]
[--cflags]
EOF
exit $1
@ -53,6 +54,9 @@ while test $# -gt 0; do
--libs)
echo_libs=yes
;;
--libtool)
echo_libtool=yes
;;
*)
usage 1 1>&2
;;
@ -78,5 +82,9 @@ 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

@ -13,6 +13,7 @@ Options:
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--libtool]
[--cflags]
EOF
exit $1
@ -53,6 +54,9 @@ while test $# -gt 0; do
--libs)
echo_libs=yes
;;
--libtool)
echo_libtool=yes
;;
*)
usage 1 1>&2
;;
@ -78,5 +82,9 @@ 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

Loading…
Cancel
Save