aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile/unix.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-07 16:09:12 +0000
committerlloyd <[email protected]>2008-11-07 16:09:12 +0000
commit39362b98af2bb84e7a436b9c1ff59a7bf023157f (patch)
treeecd6e974442a744a28db57b74957c0948a09ec37 /src/build-data/makefile/unix.in
parentc88a5198b39847f975e0562267f3c010a37fc904 (diff)
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).
Diffstat (limited to 'src/build-data/makefile/unix.in')
-rw-r--r--src/build-data/makefile/unix.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/makefile/unix.in b/src/build-data/makefile/unix.in
index 6df85e377..c95312f35 100644
--- a/src/build-data/makefile/unix.in
+++ b/src/build-data/makefile/unix.in
@@ -81,7 +81,7 @@ all: $(LIBRARIES)
# Link Commands #
##################################################
$(CHECK): $(LIBRARIES) $(CHECKOBJS)
- $(CXX) $(CHECKOBJS) -L. -lbotan $(LINK_TO) -o $(CHECK)
+ $(CXX) $(CHECKOBJS) -L. libbotan.a $(LINK_TO) -o $(CHECK)
$(STATIC_LIB): $(LIBOBJS)
$(RM) $(STATIC_LIB)