From 9e6c2114b30e1f910003fff91c9f91d513f52ecc Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 11:16:56 +0200 Subject: [PATCH] Debugging macos --- Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index bab5a15..e85a181 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,8 @@ LIBS_DIR := $(abspath ./libs) UNAME_S := $(shell uname -s) # Flags for CGO to find the headers and the shared library -ifeq ($(UNAME_S),Darwin) - CGO_CFLAGS := -I$(LIBS_DIR) - CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path/./libs -else - CGO_CFLAGS := -I$(LIBS_DIR) - CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR) -endif +CGO_CFLAGS := -I$(LIBS_DIR) +CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR) ifeq ($(OS),Windows_NT) BIN_NAME := example.exe