diff --git a/Makefile b/Makefile index 5dba1d4..3bcb96a 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,10 @@ ifeq ($(UNAME_S),Darwin) endif build: +ifeq ($(UNAME_S),Darwin) +# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib + otool -L libs/libcodex.dylib +endif CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go run: