diff options
author | lloyd <[email protected]> | 2009-01-19 20:54:09 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-01-19 20:54:09 +0000 |
commit | c5af4ed41101f3e13ff5c20111c2477bfddc00ce (patch) | |
tree | 1266aa0f944bc2c19e6dc2b4e17e93386e3bcef6 | |
parent | 9fc49cbfd6ac568b1fa08b41bcb064eeb9028d7d (diff) |
Use printf instead of echo -n in botan-config, as according to bug reports
echo -n does not work on (at least) Solaris 10 and MacOS X, while printf
will do the right thing and is available at least as far back as 4.2 BSD
(and as a policy, I'm not interested in supporting Unix distros that shipped
before I was born).
Patch from Markus Wanner.
-rw-r--r-- | src/build-data/botan-config.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/botan-config.in b/src/build-data/botan-config.in index bb20ee15e..9148e2e3b 100644 --- a/src/build-data/botan-config.in +++ b/src/build-data/botan-config.in @@ -54,7 +54,7 @@ while test $# -gt 0; do --libs) if [ $prefix != "/usr" -a $prefix != "/usr/local" ] then - echo -n "-L$prefix/$libdir " + printf "-L$prefix/$libdir " fi echo @{var:link_to} -lbotan |