From 9fff75b02532365154b10b2403c69af4fbcb5b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 6 Mar 2025 19:04:10 +0900 Subject: [PATCH] Hide symbols from the NIF shared library --- exla/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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