Browse Source

gensio: Avoid building unused python and libstdcpp dependecies

Avoid building unused python and libstdcpp dependecies

Signed-off-by: Boris Krasnovskiy <borkra@gmail.com>
(cherry picked from commit 0c245fda70)
lilik-openwrt-22.03
Boris Krasnovskiy 2 years ago
committed by Josef Schlehofer
parent
commit
7727beb713
No known key found for this signature in database GPG Key ID: B950216FE4329F4C
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      net/gensio/Makefile

+ 4
- 3
net/gensio/Makefile View File

@ -33,6 +33,8 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_GENSIO_TCL \ CONFIG_GENSIO_TCL \
CONFIG_GENSIO_SSHD CONFIG_GENSIO_SSHD
PKG_BUILD_DEPENDS:=PACKAGE_python3-gensio:swig
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-package.mk include ../../lang/python/python3-package.mk
@ -130,8 +132,7 @@ $(call Package/gensio/Default)
TITLE+= (Python3-bindings) TITLE+= (Python3-bindings)
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
BUILD_DEPENDS:=+swig +python3
DEPENDS:=+python3-light +libgensio
DEPENDS:=+PACKAGE_python3-gensio:python3-light +libgensio
endef endef
define Package/python3-gensio/description define Package/python3-gensio/description
@ -146,7 +147,7 @@ $(call Package/gensio/Default)
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
ABI_VERSION:=0 ABI_VERSION:=0
DEPENDS:=+libgensio +libstdcpp
DEPENDS:=+libgensio +PACKAGE_libgensiocpp:libstdcpp
endef endef
define Package/libgensiocpp/description define Package/libgensiocpp/description


Loading…
Cancel
Save