mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 21:50:44 +00:00
try to use mini-c-ares
This commit is contained in:
parent
56c894d202
commit
564658ce2b
7 changed files with 82 additions and 89 deletions
|
|
@ -6,6 +6,7 @@ BUILD_PROFILE := release-lto
|
|||
DEB_VERSION ?= $(shell dpkg-parsechangelog -SVersion)
|
||||
LUA_FEATURE ?= $(shell scripts/package/detect_lua_feature.sh)
|
||||
SSL_FEATURE ?= $(shell scripts/package/detect_openssl_feature.sh)
|
||||
CARES_FEATURE ?= $(shell scripts/package/detect_c-ares_feature.sh)
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
|
@ -16,7 +17,7 @@ override_dh_auto_clean:
|
|||
override_dh_auto_build:
|
||||
G3_PACKAGE_VERSION=$(DEB_VERSION) \
|
||||
cargo build --frozen --offline --profile $(BUILD_PROFILE) \
|
||||
--no-default-features --features $(LUA_FEATURE),$(SSL_FEATURE),c-ares \
|
||||
--no-default-features --features $(LUA_FEATURE),$(SSL_FEATURE),$(CARES_FEATURE) \
|
||||
--package g3proxy --package g3proxy-ctl --package g3proxy-ftp --package g3proxy-lua
|
||||
sh $(PACKAGE_NAME)/service/generate_systemd.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue