mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 07:45:38 +00:00
Avoid warning from mingw for shared library
This commit is contained in:
parent
418080010a
commit
3cfb34564f
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue