fix: content length & dns

This commit is contained in:
源文雨
2024-04-15 23:58:32 +09:00
parent fdee77d778
commit 90d3d676f3
9 changed files with 220 additions and 89 deletions

View File

@@ -12,7 +12,7 @@ TARGET_SDK := android23
TARGET_ARCH := aarch64 # optional: armv7a i686 x86_64
CGO_ENABLED := 1
GO_SRC := $(shell find . -name '*.go')
GO_SRC := $(shell find . -name '*.go' | grep -v '_test.go$$')
NDK_TOOLCHAIN := ~/Library/Android/sdk/ndk/$(NDK_VERSION)/toolchains/llvm/prebuilt/$(BUILD_MACHINE)-$(BUILD_ARCH)
CC := $(NDK_TOOLCHAIN)/bin/$(TARGET_ARCH)-linux-$(TARGET_SDK)-clang
TEST_OUTPUT = '$(shell cd $(BUILD_PATH) && ./test | head -c 12)'