summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 12:17:03 -0500
committermidipix <writeonce@midipix.org>2019-02-02 12:26:47 -0500
commitf009086ba30eb17c56b5c374e64e554870b961fe (patch)
tree73e923bea113e6b5602750e71e74463405aafccb /project
parent9efaa255a7fad33d56a3b1eee969b1ab3a4261e0 (diff)
downloadpemagine-f009086ba30eb17c56b5c374e64e554870b961fe.tar.bz2
pemagine-f009086ba30eb17c56b5c374e64e554870b961fe.tar.xz
project: apply protected visibility to both the static and dynamic builds.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 3bf3bac..3b55c90 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
-CFLAGS_SHARED_ATTR += -DPE_EXPORT -fvisibility=hidden
-CFLAGS_STATIC_ATTR += -DPE_STATIC -fvisibility=hidden
+CFLAGS_SHARED_ATTR += -DPE_EXPORT -fvisibility=protected
+CFLAGS_STATIC_ATTR += -DPE_STATIC -fvisibility=protected
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__