- Added SHARED define for building with -fPIC

This commit is contained in:
Paul Bakker 2012-11-13 10:35:00 +00:00
parent f6bdf8d86c
commit 644db3893a

View file

@ -18,7 +18,9 @@ endif
# CFLAGS += -D_BSD_EXTENSION
# To compile as a shared library:
# CFLAGS += -fPIC
ifdef SHARED
CFLAGS += -fPIC
endif
SONAME=libpolarssl.so.0