summaryrefslogtreecommitdiffstats
path: root/libart-config.in
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 18:30:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 18:30:03 -0600
commit150562b89b645c402f1bb837a09f8b84bf6e49ec (patch)
tree16bab8241a6e689b946ffc2359dc75cc7fe0dd4c /libart-config.in
parenta9eaee5264ab9f85e01789409ff3c6239262fe82 (diff)
downloadlibart-lgpl-150562b89b645c402f1bb837a09f8b84bf6e49ec.tar.gz
libart-lgpl-150562b89b645c402f1bb837a09f8b84bf6e49ec.zip
Fix a number of problems
Diffstat (limited to 'libart-config.in')
-rw-r--r--libart-config.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/libart-config.in b/libart-config.in
index 0a2f3a9..e32f010 100644
--- a/libart-config.in
+++ b/libart-config.in
@@ -3,6 +3,8 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
+libs=""
+output_libs=no
usage="\
Usage: libart-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
@@ -43,8 +45,11 @@ while test $# -gt 0; do
echo $includes
;;
--libs)
- libdirs=-L@libdir@
- echo $libdirs -lart_lgpl_2 -lm
+ libs="$libs -L@libdir@ -lart_lgpl_2"
+ output_libs=yes
+ ;;
+ --static)
+ libs="$libs -lm"
;;
*)
echo "${usage}" 1>&2
@@ -54,3 +59,7 @@ while test $# -gt 0; do
shift
done
+if test $output_libs = yes ; then
+ echo $libs
+fi
+