forked from minhngoc25a/freetype2
Added a --libtool option, which returns the absolute path to the
libtool convenience library.
This commit is contained in:
parent
8a2503aaef
commit
e503527c64
|
@ -13,6 +13,7 @@ Options:
|
||||||
[--exec-prefix[=DIR]]
|
[--exec-prefix[=DIR]]
|
||||||
[--version]
|
[--version]
|
||||||
[--libs]
|
[--libs]
|
||||||
|
[--libtool]
|
||||||
[--cflags]
|
[--cflags]
|
||||||
EOF
|
EOF
|
||||||
exit $1
|
exit $1
|
||||||
|
@ -53,6 +54,9 @@ while test $# -gt 0; do
|
||||||
--libs)
|
--libs)
|
||||||
echo_libs=yes
|
echo_libs=yes
|
||||||
;;
|
;;
|
||||||
|
--libtool)
|
||||||
|
echo_libtool=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage 1 1>&2
|
usage 1 1>&2
|
||||||
;;
|
;;
|
||||||
|
@ -78,5 +82,9 @@ if test "$echo_libs" = "yes"; then
|
||||||
libs="-lfreetype"
|
libs="-lfreetype"
|
||||||
echo -L@libdir@ $libs
|
echo -L@libdir@ $libs
|
||||||
fi
|
fi
|
||||||
|
if test "$echo_libtool" = "yes"; then
|
||||||
|
convlib="libfreetype.la"
|
||||||
|
echo @libdir@/$convlib
|
||||||
|
fi
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -13,6 +13,7 @@ Options:
|
||||||
[--exec-prefix[=DIR]]
|
[--exec-prefix[=DIR]]
|
||||||
[--version]
|
[--version]
|
||||||
[--libs]
|
[--libs]
|
||||||
|
[--libtool]
|
||||||
[--cflags]
|
[--cflags]
|
||||||
EOF
|
EOF
|
||||||
exit $1
|
exit $1
|
||||||
|
@ -53,6 +54,9 @@ while test $# -gt 0; do
|
||||||
--libs)
|
--libs)
|
||||||
echo_libs=yes
|
echo_libs=yes
|
||||||
;;
|
;;
|
||||||
|
--libtool)
|
||||||
|
echo_libtool=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage 1 1>&2
|
usage 1 1>&2
|
||||||
;;
|
;;
|
||||||
|
@ -78,5 +82,9 @@ if test "$echo_libs" = "yes"; then
|
||||||
libs="-lfreetype"
|
libs="-lfreetype"
|
||||||
echo -L@libdir@ $libs
|
echo -L@libdir@ $libs
|
||||||
fi
|
fi
|
||||||
|
if test "$echo_libtool" = "yes"; then
|
||||||
|
convlib="libfreetype.la"
|
||||||
|
echo @libdir@/$convlib
|
||||||
|
fi
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
Loading…
Reference in New Issue