From 39362b98af2bb84e7a436b9c1ff59a7bf023157f Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 7 Nov 2008 16:09:12 +0000 Subject: In Makefiles and pkg-config / botan-config, use -lbotan-@{var:version} so we link against the specific intended version of the library, for instance -lbotan-1.7.20 rather than simply -lbotan This again seems especially an improvement where you want more than one version installed (1.6 vs 1.7, for instance). --- src/build-data/makefile/unix_shr.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build-data/makefile/unix_shr.in') diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in index b4076db49..14c525446 100644 --- a/src/build-data/makefile/unix_shr.in +++ b/src/build-data/makefile/unix_shr.in @@ -88,7 +88,7 @@ all: $(LIBRARIES) # Link Commands # ################################################## $(CHECK): $(LIBRARIES) $(CHECKOBJS) - $(CXX) $(CHECKOBJS) -L. -lbotan $(LINK_TO) -o $(CHECK) + $(CXX) $(CHECKOBJS) -L. -lbotan-@{var:version} $(LINK_TO) -o $(CHECK) $(STATIC_LIB): $(LIBOBJS) $(RM) $(STATIC_LIB) -- cgit v1.2.3