diff --git a/library/Makefile b/library/Makefile
index 72e376c94..36c8a40e0 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -68,7 +68,7 @@ OBJS=	aes.o		aesni.o		arc4.o			\
 ifndef SHARED
 all: static
 else
-all: shared
+all: shared static
 endif
 
 static: libpolarssl.a