From 72ac297a221b20011c34e2230717191d1feb25ac Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 Feb 2019 02:05:47 -0500 Subject: project: apply hidden visibility to the static build. --- project/extras.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- cgit v1.2.3