- Added SHARED define for building with -fPIC
This commit is contained in:
parent
f6bdf8d86c
commit
644db3893a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue