Skip to content

Commit 522eb27

Browse files
Hide symbols from the NIF shared library (#1589)
1 parent adc39f8 commit 522eb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exla/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ else
3636
CFLAGS += -O3
3737
endif
3838

39-
LDFLAGS = -L$(XLA_EXTENSION_LIB) -lxla_extension -shared
39+
LDFLAGS = -L$(XLA_EXTENSION_LIB) -lxla_extension -shared -fvisibility=hidden
4040

4141
ifeq ($(CROSSCOMPILE),)
4242
# Interrogate the system for local compilation

0 commit comments

Comments
 (0)