diff --git a/builds/cygwin/freetype-config.in b/builds/cygwin/freetype-config.in index b32b126e0..577626db6 100644 --- a/builds/cygwin/freetype-config.in +++ b/builds/cygwin/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 diff --git a/builds/unix/freetype-config.in b/builds/unix/freetype-config.in index b32b126e0..577626db6 100644 --- a/builds/unix/freetype-config.in +++ b/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