mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Fix visibility of symbols in .so (#2441)
Fix visibility of symbols in .so and add an alias for renamed API
This commit is contained in:
parent
69085db61c
commit
821d9acd17
1 changed files with 2 additions and 2 deletions
|
|
@ -255,8 +255,8 @@ else # not Windows
|
|||
|
||||
LIBZSTD = libzstd.$(SHARED_EXT_VER)
|
||||
.PHONY: $(LIBZSTD) # must be run every time
|
||||
$(LIBZSTD): CFLAGS += -fPIC
|
||||
$(LIBZSTD): LDFLAGS += -shared -fvisibility=hidden
|
||||
$(LIBZSTD): CFLAGS += -fPIC -fvisibility=hidden
|
||||
$(LIBZSTD): LDFLAGS += -shared
|
||||
|
||||
ifndef BUILD_DIR
|
||||
# determine BUILD_DIR from compilation flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue