aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile
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 /src/build-data/makefile
parent95033a027fcda13453010805880ad7450d3ac3ff (diff)
Fix Gentoo bug 272242
Diffstat (limited to 'src/build-data/makefile')
-rw-r--r--src/build-data/makefile/unix_shr.in4
1 files changed, 2 insertions, 2 deletions
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)
##################################################