summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-18 07:06:15 +0000
committermidipix <writeonce@midipix.org>2024-02-18 07:37:54 +0000
commit4b56dee0873d57ed2a0891a4a2370d20d46845c3 (patch)
tree36b1645696d42bed98625964f471ad8cbcdb19fe /project
parentd603a45e5710cc897681c3395188d7376593dcbe (diff)
downloadslibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.bz2
slibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.xz
code base: set the visilbity of internal library interfaces to hidden.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk1
-rw-r--r--project/headers.mk1
2 files changed, 2 insertions, 0 deletions
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)