diff options
author | midipix <writeonce@midipix.org> | 2024-02-18 07:06:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-18 07:37:54 +0000 |
commit | 4b56dee0873d57ed2a0891a4a2370d20d46845c3 (patch) | |
tree | 36b1645696d42bed98625964f471ad8cbcdb19fe /project | |
parent | d603a45e5710cc897681c3395188d7376593dcbe (diff) | |
download | slibtool-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.mk | 1 | ||||
-rw-r--r-- | project/headers.mk | 1 |
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) |