This commit is contained in:
Arnaud 2025-10-15 16:21:28 +02:00
parent 65c00384eb
commit 81837e6c98
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -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: