From 2c5d926bbd45fabf04f37ff4d500d08915cd2d22 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Wed, 12 Dec 2018 16:09:34 +0800 Subject: [PATCH] luci add ssr: fix openwrt cc support --- package/lean/luci-app-ssr-plus/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/lean/luci-app-ssr-plus/Makefile b/package/lean/luci-app-ssr-plus/Makefile index a6c6d6677..b1cedc59f 100644 --- a/package/lean/luci-app-ssr-plus/Makefile +++ b/package/lean/luci-app-ssr-plus/Makefile @@ -2,9 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=1 -PKG_RELEASE:=67 - -PO2LMO:=$(STAGING_DIR_HOSTPKG)/bin/po2lmo +PKG_RELEASE:=68 PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks \ CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_V2ray \ @@ -62,7 +60,7 @@ define Package/luci-app-ssr-plus/install $(INSTALL_DIR) $(1)/ cp -pR ./root/* $(1)/ $(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n - $(PO2LMO) ./po/zh-cn/ssr-plus.po $(1)/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo + po2lmo ./po/zh-cn/ssr-plus.po $(1)/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo endef define Package/luci-app-ssr-plus/postinst