From baabe5b9fa3c8f64864895b5c8b344da39bac8b4 Mon Sep 17 00:00:00 2001 From: Beginner <70857188+Beginner-Go@users.noreply.github.com> Date: Mon, 15 Mar 2021 01:29:34 +0800 Subject: [PATCH] Xray-core: Force xray to replace v2ray --- xray-core/Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/xray-core/Makefile b/xray-core/Makefile index 20aafb5a..6bf2f5e9 100644 --- a/xray-core/Makefile +++ b/xray-core/Makefile @@ -13,7 +13,6 @@ PKG_LICENSE:=MPL-2.0 PKG_LICENSE_FILES:=LICENSE PKG_CONFIG_DEPENDS:= \ - CONFIG_XRAY_CORE_PROVIDE_V2RAY_CORE \ CONFIG_XRAY_CORE_COMPRESS_GOPROXY \ CONFIG_XRAY_CORE_COMPRESS_UPX \ @@ -70,10 +69,6 @@ define Package/xray-core/config menu "Xray-core Configuration" depends on PACKAGE_xray-core -config XRAY_CORE_PROVIDE_V2RAY_CORE - bool "Provide V2Ray binary using XRay" - default y - config XRAY_CORE_COMPRESS_GOPROXY bool "Compiling with GOPROXY proxy" default n @@ -126,12 +121,9 @@ endef define Package/xray-core/install $(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR)) - $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/main $(1)/usr/bin/xray -ifneq ($(CONFIG_XRAY_CORE_PROVIDE_V2RAY_CORE),) $(LN) xray $(1)/usr/bin/v2ray -endif endef define Package/xray-geodata/install