From 4b56dee0873d57ed2a0891a4a2370d20d46845c3 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 18 Feb 2024 07:06:15 +0000 Subject: code base: set the visilbity of internal library interfaces to hidden. --- project/extras.mk | 1 + project/headers.mk | 1 + 2 files changed, 2 insertions(+) (limited to 'project') diff --git a/project/extras.mk b/project/extras.mk index 7beba34..da2faaf 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -4,6 +4,7 @@ CFLAGS_APP_ATTR += -DSLBT_APP CFLAGS_MACHINE := -DSLBT_MACHINE=\"$(CC_HOST)\" CFLAGS_CONFIG += $(CFLAGS_MACHINE) +CFLAGS_CONFIG += $(CFLAGS_ATTR_VISIBILITY_HIDDEN) src/driver/slbt_driver_ctx.o: version.tag src/driver/slbt_driver_ctx.lo: version.tag diff --git a/project/headers.mk b/project/headers.mk index bb2628f..4a732de 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -22,5 +22,6 @@ INTERNAL_HEADERS = \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_spawn_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_symlink_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_uninstall_impl.h \ + $(PROJECT_DIR)/src/internal/$(PACKAGE)_visibility_impl.h \ ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) -- cgit v1.2.3