diff --git a/exla/Makefile b/exla/Makefile index 77b863dd7c..a8d4733389 100644 --- a/exla/Makefile +++ b/exla/Makefile @@ -36,7 +36,7 @@ else CFLAGS += -O3 endif -LDFLAGS = -L$(XLA_EXTENSION_LIB) -lxla_extension -shared +LDFLAGS = -L$(XLA_EXTENSION_LIB) -lxla_extension -shared -fvisibility=hidden ifeq ($(CROSSCOMPILE),) # Interrogate the system for local compilation