From 5d7adb7ab69a4aa84117a1f1b966697c914cefe7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 3 Mar 2010 22:04:38 +0000 Subject: Fix VC++ static lib builds --- src/build-data/makefile/nmake.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/build-data/makefile/nmake.in b/src/build-data/makefile/nmake.in index a21cc7091..212825131 100644 --- a/src/build-data/makefile/nmake.in +++ b/src/build-data/makefile/nmake.in @@ -64,7 +64,11 @@ $(CHECK): $(LIBRARIES) $(CHECKOBJS) $(CXX) /Fe$@ $(CHECKOBJS) $(BOTAN_LIB) $(LINK_TO) $(BOTAN_LIB): $(LIBOBJS) +!If "$(SO_OBJ_FLAGS)" == "" + $(AR) /OUT:$(BOTAN_LIB) $(LIBOBJS) +!Else $(LIB_LINK_CMD) /Fe$(LIBNAME) $(LIBOBJS) $(LINK_TO) +!Endif ### Fake Targets clean: -- cgit v1.2.3