diff --git a/Makefile b/Makefile index a3c331b..689baf6 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LIBS_DIR := $(abspath ./libs) UNAME_S := $(shell uname -s) 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 else CGO_CFLAGS := -I$(LIBS_DIR) CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)