diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 00:35:10 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 00:35:10 +1100 |
commit | 8ef0b871725cf6fe31ceab34ae0b40aa905e05bf (patch) | |
tree | 540120c41e9e39da4dd059bc262f07125b41a170 | |
parent | 6632e63fd6acdba8138b3232ef2a87bedfedab81 (diff) |
add position independent flag for shared lib
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |