From: juhosg Date: Tue, 30 Apr 2013 19:44:35 +0000 (+0000) Subject: AA: packages: python: fix sqlite extension (#12239) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=ed59eff3bced750f793389cb789fdeb03a51f675;p=12.09%2Fpackages.git AA: packages: python: fix sqlite extension (#12239) Backport of r33902. Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/branches/packages_12.09@36503 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/python/Makefile b/lang/python/Makefile index 59ab10e..c663d79 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python PKG_VERSION:=2.7.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://www.python.org/ftp/python/$(PKG_VERSION) diff --git a/lang/python/patches/150-no-sqlite-rpath.patch b/lang/python/patches/150-no-sqlite-rpath.patch new file mode 100644 index 0000000..4f0ec41 --- /dev/null +++ b/lang/python/patches/150-no-sqlite-rpath.patch @@ -0,0 +1,10 @@ +--- a/setup.py ++++ b/setup.py +@@ -1021,7 +1021,6 @@ class PyBuildExt(build_ext): + include_dirs=["Modules/_sqlite", + sqlite_incdir], + library_dirs=sqlite_libdir, +- runtime_library_dirs=sqlite_libdir, + extra_link_args=sqlite_extra_link_args, + libraries=["sqlite3",])) + else: