diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-21 11:34:00 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-21 11:34:00 +0200 |
commit | 223c21887648bb08b689452127666d957aaed316 (patch) | |
tree | ba0c46f9fee09768e93a70ec5a3f5e2211f6ef5f /package/python2/Makefile | |
parent | 5114e1d4b60bc14c851c8546bef5d669505ec53a (diff) |
fix cross-compile under FreeBSD
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r-- | package/python2/Makefile | 3 |
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 \ |