diff options
author | lloyd <[email protected]> | 2009-04-11 03:22:39 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-04-11 03:22:39 +0000 |
commit | 96d6a1718dad2c645c372dee5bbf4799922300d6 (patch) | |
tree | 15452975fc33cb334e969546379b421bd11245ad | |
parent | 13848fe3dccaa3e015711d3e78e67a767bcd6e71 (diff) |
Place -lbotan before the other -l flags in the output of
botan-config --libs - with shared objects it makes no difference, but
with static libs this doesn't bring in the needed symbols correctly since
only symbols needed by earlier objects on the command line are brought
in. Reported by Thomas Moschny.
-rw-r--r-- | src/build-data/botan-config.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/botan-config.in b/src/build-data/botan-config.in index 14a01a018..28b494254 100644 --- a/src/build-data/botan-config.in +++ b/src/build-data/botan-config.in @@ -54,9 +54,9 @@ while test $# -gt 0; do --libs) if [ $prefix != "/usr" -a $prefix != "/usr/local" ] then - echo -L$prefix/$libdir @{var:link_to} -lbotan + echo -L$prefix/$libdir -lbotan @{var:link_to} else - echo @{var:link_to} -lbotan + echo -lbotan @{var:link_to} fi ;; *) |