From 8ef0b871725cf6fe31ceab34ae0b40aa905e05bf Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 18 Oct 2024 00:35:10 +1100 Subject: add position independent flag for shared lib --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8dc73e2..6ef7a24 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ ifeq ($(UNAME_S),Darwin) OBJS += $(OBJ_DIR)/backend_mtl.o else SHARED_LIB := $(BUILD_DIR)/libceleritas.so - SHARED_FLAGS := -shared + SHARED_FLAGS := -shared -fPIC endif ## Makefile notes -- cgit v1.2.3-70-g09d2