summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 12:29:05 -0500
committermidipix <writeonce@midipix.org>2019-02-02 12:31:41 -0500
commit6348143b67464b9f2dd3d1f1f22dae48bff95ab3 (patch)
tree8c79b062bb23d674e899dac31b1778e89afd6654
parent5539543092c89ff1d219585f11d3f9e5a0c8c74f (diff)
downloadntapi-6348143b67464b9f2dd3d1f1f22dae48bff95ab3.tar.bz2
ntapi-6348143b67464b9f2dd3d1f1f22dae48bff95ab3.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 6e9f8ea..cebd464 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 -fvisibility=hidden
+CFLAGS_STATIC_ATTR += -DNTAPI_STATIC -DPE_STATIC -DDALIST_STATIC -fvisibility=protected
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__