diff --git a/Makefile b/Makefile index 121f3fe..d1cb7e3 100644 --- a/Makefile +++ b/Makefile @@ -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)