diff options
author | lloyd <[email protected]> | 2008-11-07 16:09:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-07 16:09:12 +0000 |
commit | 39362b98af2bb84e7a436b9c1ff59a7bf023157f (patch) | |
tree | ecd6e974442a744a28db57b74957c0948a09ec37 /src/build-data/makefile/unix.in | |
parent | c88a5198b39847f975e0562267f3c010a37fc904 (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.in | 2 |
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) |