From 69b97497dcb40af476e5dfac1eb5dd709ff390e2 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 16 Oct 2025 05:39:36 +0200 Subject: [PATCH] debug --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 606cf12..29902a8 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ # Destination folder for the downloaded libraries -LIBS_DIR := $(abspath ./libs) +# LIBS_DIR := $(abspath ./libs) +LIBS_DIR := $(abspath ./libs2) # Flags for CGO to find the headers and the shared library UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin) CGO_CFLAGS := -I$(LIBS_DIR) - CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path + CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR) else CGO_CFLAGS := -I$(LIBS_DIR) CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)