From 39f763f0eef7b91c98750f209e72ae4bf6f08cb2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 26 Dec 2018 15:29:39 -0800 Subject: [PATCH] pyodbc: Added ability to compile with uclibc++ Allows a smaller size. Signed-off-by: Rosen Penev --- lang/python/pyodbc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/python/pyodbc/Makefile b/lang/python/pyodbc/Makefile index af2335f99d..d3f1f05500 100644 --- a/lang/python/pyodbc/Makefile +++ b/lang/python/pyodbc/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pyodbc PKG_VERSION:=4.0.26 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pyodbc @@ -21,6 +21,7 @@ PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$ PKG_BUILD_DEPENDS:=unixodbc/host +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk include ../python-package.mk include ../python3-package.mk @@ -30,7 +31,7 @@ define Package/python-pyodbc/Default CATEGORY:=Languages SUBMENU:=Python URL:=https://github.com/mkleehammer/pyodbc - DEPENDS:=+unixodbc +libstdcpp + DEPENDS:=+unixodbc $(CXX_DEPENDS) endef define Package/python-pyodbc -- 2.30.2