mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #7788 from neheb/patch-6
pyodbc: Added ability to compile with uclibc++
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=pyodbc
|
PKG_NAME:=pyodbc
|
||||||
PKG_VERSION:=4.0.26
|
PKG_VERSION:=4.0.26
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pyodbc
|
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
|
PKG_BUILD_DEPENDS:=unixodbc/host
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include ../python-package.mk
|
include ../python-package.mk
|
||||||
include ../python3-package.mk
|
include ../python3-package.mk
|
||||||
@@ -30,7 +31,7 @@ define Package/python-pyodbc/Default
|
|||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
URL:=https://github.com/mkleehammer/pyodbc
|
URL:=https://github.com/mkleehammer/pyodbc
|
||||||
DEPENDS:=+unixodbc +libstdcpp
|
DEPENDS:=+unixodbc $(CXX_DEPENDS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python-pyodbc
|
define Package/python-pyodbc
|
||||||
|
|||||||
Reference in New Issue
Block a user