summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 12:32:25 -0500
committermidipix <writeonce@midipix.org>2019-02-02 12:32:25 -0500
commitb91afcb8ae6d068360a0212695774de8a42e8054 (patch)
treeb8591a05a6116fc650832edd1cc2edd2151dd9b8
parent72ac297a221b20011c34e2230717191d1feb25ac (diff)
downloadntcon-b91afcb8ae6d068360a0212695774de8a42e8054.tar.bz2
ntcon-b91afcb8ae6d068360a0212695774de8a42e8054.tar.xz
project: apply protected visibility to the static build.
-rw-r--r--project/extras.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 3a89ca3..955953d 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
CFLAGS_SHARED_ATTR += -DNTCON_EXPORT
-CFLAGS_STATIC_ATTR += -DNTCON_STATIC -fvisibility=hidden
+CFLAGS_STATIC_ATTR += -DNTCON_STATIC -fvisibility=protected
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__