aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-06-06 20:06:53 +0000
committerlloyd <[email protected]>2009-06-06 20:06:53 +0000
commit5da417b56d5ad772c32a981a56f048c3487dfff0 (patch)
tree19fa47dfcba835b27483bf1c0c1905860d964641
parent95033a027fcda13453010805880ad7450d3ac3ff (diff)
Fix Gentoo bug 272242
-rw-r--r--doc/log.txt1
-rw-r--r--src/build-data/makefile/unix_shr.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/log.txt b/doc/log.txt
index f5cdbf745..9ca274ff4 100644
--- a/doc/log.txt
+++ b/doc/log.txt
@@ -3,6 +3,7 @@
- Add the Skein-512 hash function
- Add XTS mode from IEEE P1619
- Use a default value for AutoSeeded_RNG::reseed
+ - Fix Gentoo bug 272242
* 1.8.2, 2009-04-07
- Make entropy polling more flexible and in most cases faster
diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in
index fec3a3654..1b139e0dc 100644
--- a/src/build-data/makefile/unix_shr.in
+++ b/src/build-data/makefile/unix_shr.in
@@ -85,7 +85,7 @@ all: $(LIBRARIES)
# Link Commands #
##################################################
$(CHECK): $(LIBRARIES) $(CHECKOBJS)
- $(CXX) $(CHECKOBJS) -L. -lbotan $(LINK_TO) -o $(CHECK)
+ $(CXX) $(LDFLAGS) $(CHECKOBJS) -o $(CHECK) -L. -lbotan-@{var:version} $(LINK_TO)
$(STATIC_LIB): $(LIBOBJS)
$(RM) $(STATIC_LIB)
@@ -93,7 +93,7 @@ $(STATIC_LIB): $(LIBOBJS)
$(RANLIB) $(STATIC_LIB)
$(SHARED_LIB): $(LIBOBJS)
- $(SO_LINK_CMD) $(LINK_TO) $(LIBOBJS) -o $(SHARED_LIB)
+ $(SO_LINK_CMD) $(LDFLAGS) $(LIBOBJS) -o $(SHARED_LIB) $(LINK_TO)
$(LN) $(SHARED_LIB) $(SYMLINK)
##################################################