diff options
Diffstat (limited to 'libart-config.in')
-rw-r--r-- | libart-config.in | 13 |
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 + |