From 538329318964e4bfb420b6787f0f30c39ec3394c Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 25 May 2024 15:39:09 +0000 Subject: code base: set the visilbity of internal library interfaces to hidden. --- project/extras.mk | 2 ++ project/headers.mk | 1 + 2 files changed, 3 insertions(+) (limited to 'project') diff --git a/project/extras.mk b/project/extras.mk index f07c781..f8c9852 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -2,5 +2,7 @@ CFLAGS_SHARED_ATTR += -DTPAX_PRE_ALPHA -DTPAX_EXPORT CFLAGS_STATIC_ATTR += -DTPAX_PRE_ALPHA -DTPAX_STATIC CFLAGS_APP_ATTR += -DTPAX_APP +CFLAGS_CONFIG += $(CFLAGS_ATTR_VISIBILITY_HIDDEN) + src/driver/tpax_driver_ctx.o: version.tag src/driver/tpax_driver_ctx.lo: version.tag diff --git a/project/headers.mk b/project/headers.mk index b33a797..e495f1b 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -11,5 +11,6 @@ INTERNAL_HEADERS = \ $(SOURCE_DIR)/src/internal/tpax_getdents_impl.h \ $(SOURCE_DIR)/src/internal/tpax_readlink_impl.h \ $(SOURCE_DIR)/src/internal/tpax_tmpfile_impl.h \ + $(SOURCE_DIR)/src/internal/tpax_visibility_impl.h \ ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) -- cgit v1.2.3