1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-07 06:42:56 +03:00

- 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 # CFLAGS += -D_BSD_EXTENSION
# To compile as a shared library: # To compile as a shared library:
# CFLAGS += -fPIC ifdef SHARED
CFLAGS += -fPIC
endif
SONAME=libpolarssl.so.0 SONAME=libpolarssl.so.0