summaryrefslogtreecommitdiff
path: root/package/python2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-21 11:34:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-21 11:34:00 +0200
commit223c21887648bb08b689452127666d957aaed316 (patch)
treeba0c46f9fee09768e93a70ec5a3f5e2211f6ef5f /package/python2
parent5114e1d4b60bc14c851c8546bef5d669505ec53a (diff)
fix cross-compile under FreeBSD
Diffstat (limited to 'package/python2')
-rw-r--r--package/python2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index b28b5d49e..5464d3d7a 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= python2
PKG_VERSION:= 2.7.1
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 15ed56733655e3fab785e49a7278d2fb
PKG_DESCR:= Python scripting language (Version 2)
PKG_SECTION:= lang
@@ -31,6 +31,7 @@ $(eval $(call PKG_template,PYTHON2_BZIP2,${PKG_NAME}-bzip2,${PKG_VERSION}-${PKG_
$(eval $(call PKG_template,PYTHON2_READLINE,${PKG_NAME}-readline,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_PYTHON2_READLINE},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS+= -fPIC
+TARGET_LDFLAGS+= -L.
MAKE_ENV+= OPT="$(TARGET_CFLAGS)" \
RANLIB="${TARGET_CROSS}ranlib" \
HOSTPYTHON=./hostpython \