This commit is contained in:
Arnaud 2025-10-15 11:50:20 +02:00
parent d2224c1862
commit dbb833bbae
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -6,7 +6,7 @@ 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
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)