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

Avoid warning from mingw for shared library

This commit is contained in:
Manuel Pégourié-Gonnard
2015-02-13 13:34:08 +00:00
parent 418080010a
commit 3cfb34564f

View File

@@ -19,8 +19,11 @@ endif
# To compile as a shared library: # To compile as a shared library:
ifdef SHARED ifdef SHARED
# all code is position-indep with mingw, avoid warning about useless flag
ifndef WINDOWS
CFLAGS += -fPIC CFLAGS += -fPIC
endif endif
endif
SOVERSION=8 SOVERSION=8