summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 02:05:47 -0500
committermidipix <writeonce@midipix.org>2019-02-02 02:05:47 -0500
commit72ac297a221b20011c34e2230717191d1feb25ac (patch)
treeca09e9594e793b2e606d5c3bde8f8fb27966e8e0
parenta12654ded621e4eea14e3b987be96349adc50559 (diff)
downloadntcon-72ac297a221b20011c34e2230717191d1feb25ac.tar.bz2
ntcon-72ac297a221b20011c34e2230717191d1feb25ac.tar.xz
project: apply hidden 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 03b5c36..3a89ca3 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
CFLAGS_SHARED_ATTR += -DNTCON_EXPORT
-CFLAGS_STATIC_ATTR += -DNTCON_STATIC
+CFLAGS_STATIC_ATTR += -DNTCON_STATIC -fvisibility=hidden
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__