From 96c4ed8134afc4976606238b995b3f34f9ce1b61 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Tue, 13 Nov 2012 10:37:52 +0000
Subject: [PATCH] - Proper building of shared lib when SHARED defined
---
library/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/library/Makefile b/library/Makefile
index f9e5062d9..603f5d16e 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -53,7 +53,11 @@ OBJS= aes.o arc4.o asn1parse.o \
.SILENT:
+ifndef SHARED
all: static
+else
+all: shared
+endif
static: libpolarssl.a