diff --git a/Makefile b/Makefile index 06f72e7..5dba1d4 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 + CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path/libs/libcodex.dylib else CGO_CFLAGS := -I$(LIBS_DIR) CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR) diff --git a/libs/libcodex.dylib b/libs/libcodex.dylib index 99fbd9a..20e470a 100755 Binary files a/libs/libcodex.dylib and b/libs/libcodex.dylib differ