diff options
author | midipix <writeonce@midipix.org> | 2024-05-25 15:39:09 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-05-25 17:46:48 +0000 |
commit | 538329318964e4bfb420b6787f0f30c39ec3394c (patch) | |
tree | 72e5b015482bba2a48b84518039f327a15872834 /project | |
parent | 1e49c7f2662513c72ddb63215519417b169ad75d (diff) | |
download | tpax-538329318964e4bfb420b6787f0f30c39ec3394c.tar.bz2 tpax-538329318964e4bfb420b6787f0f30c39ec3394c.tar.xz |
code base: set the visilbity of internal library interfaces to hidden.
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 2 | ||||
-rw-r--r-- | project/headers.mk | 1 |
2 files changed, 3 insertions, 0 deletions
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) |