From 96d6a1718dad2c645c372dee5bbf4799922300d6 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 11 Apr 2009 03:22:39 +0000 Subject: 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. --- src/build-data/botan-config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 ;; *) -- cgit v1.2.3