Skip to content

Commit 81837e6

Browse files
committed
debug
1 parent 65c0038 commit 81837e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ ifeq ($(UNAME_S),Darwin)
4141
endif
4242

4343
build:
44+
ifeq ($(UNAME_S),Darwin)
45+
# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
46+
otool -L libs/libcodex.dylib
47+
endif
4448
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go
4549

4650
run:

0 commit comments

Comments
 (0)