aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-01-21 00:05:09 +0000
committerlloyd <[email protected]>2009-01-21 00:05:09 +0000
commit46185bb0a734a29610b469635121f81eb18cf2ab (patch)
tree485dc27271f6e260ff2909930ff691680fcba879
parent2d4cb78af9d2128b728dbb7eb516b0481e38f9ff (diff)
Argh. Using printf in botan-config didn't work either, because some
printfs would complain because it would think that the -L/lib/dir was an (unknown) option instead of the string. Instead use a plain echo in each branch of the if, slight code duplication but not a huge deal.
-rw-r--r--src/build-data/botan-config.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/botan-config.in b/src/build-data/botan-config.in
index bb20ee15e..14a01a018 100644
--- a/src/build-data/botan-config.in
+++ b/src/build-data/botan-config.in
@@ -54,10 +54,10 @@ while test $# -gt 0; do
--libs)
if [ $prefix != "/usr" -a $prefix != "/usr/local" ]
then
- echo -n "-L$prefix/$libdir "
+ echo -L$prefix/$libdir @{var:link_to} -lbotan
+ else
+ echo @{var:link_to} -lbotan
fi
-
- echo @{var:link_to} -lbotan
;;
*)
usage