From a07b149ab78b9e9883e7585da139b4b8705bfbe8 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 11 Mar 2018 23:25:33 +0100 Subject: [PATCH] libctb: use preferred standard C++ lib Currently libstdc++ is hardcoded. Change that and use whatever standard C++ lib has preference. Signed-off-by: Sebastian Kemper --- libs/libctb/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/libctb/Makefile b/libs/libctb/Makefile index 9c24fa1..e2cb6b2 100644 --- a/libs/libctb/Makefile +++ b/libs/libctb/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libctb PKG_VERSION:=0.16 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://iftools.com/download/ctb/$(PKG_VERSION) @@ -23,6 +23,7 @@ PKG_LICENSE:=LGPL PKG_LICENSE_FILES:=build/COPYING PKG_MAINTAINER:=Sebastian Kemper +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk define Package/$(PKG_NAME) @@ -31,7 +32,7 @@ define Package/$(PKG_NAME) CATEGORY:=Libraries TITLE:=Communications toolbox - ctb URL:=https://iftools.com/opensource/ctb.en.php - DEPENDS:=+libstdcpp + DEPENDS:=$(CXX_DEPENDS) endef define Package/$(PKG_NAME)/description