summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 01:57:32 -0500
committermidipix <writeonce@midipix.org>2019-02-02 01:57:32 -0500
commit8dfd039c3523e18a56819a2d01407f8d0726980d (patch)
treeb23eab8bb2dbb0d072b1326e0519a3d94d001835
parente08c0473c76042854b3b394aafcf6dac522522a7 (diff)
downloadntapi-8dfd039c3523e18a56819a2d01407f8d0726980d.tar.bz2
ntapi-8dfd039c3523e18a56819a2d01407f8d0726980d.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 84dd592..6e9f8ea 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
CFLAGS_SHARED_ATTR += -DNTAPI_EXPORT -DPE_IMPORT -DDALIST_IMPORT
-CFLAGS_STATIC_ATTR += -DNTAPI_STATIC -DPE_STATIC -DDALIST_STATIC
+CFLAGS_STATIC_ATTR += -DNTAPI_STATIC -DPE_STATIC -DDALIST_STATIC -fvisibility=hidden
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__