diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-04 14:37:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-04 14:37:11 +0100 |
commit | cb78e74dce8c998fe4075d998def392f03a25876 (patch) | |
tree | 8a7b7cf40f4136a78b397fd32a8d71d1ff5b287d /package/python2/Makefile | |
parent | 57990dc4e570646f4d08c22ba645a458fd7524a1 (diff) |
fix cross-compile on MacOS X host
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r-- | package/python2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile index 42ac46163..67d8e29ba 100644 --- a/package/python2/Makefile +++ b/package/python2/Makefile @@ -13,7 +13,7 @@ PKG_DEPENDS:= libpthread PKG_URL:= http://www.python.org/ PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/ -PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !darwin +PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin DISTFILES= Python-${PKG_VERSION}.tgz WRKDIST= ${WRKDIR}/Python-${PKG_VERSION} @@ -23,15 +23,17 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,PYTHON2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) MAKE_ENV+= OPT="$(TARGET_CFLAGS)" \ + RANLIB="${TARGET_CROSS}ranlib" \ HOSTPYTHON=./hostpython \ HOSTPGEN=./Parser/hostpgen CONFIGURE_ENV+= OPT="$(TARGET_CFLAGS)" \ ac_cv_have_long_long_format=yes CONFIGURE_ARGS:= --with-threads \ + --disable-toolbox-glue \ --with-system-ffi \ --without-cxx-main -pre-configure: +post-extract: (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \ OPT="$(HOSTCFLAGS)" \ ./configure --without-cxx-main --without-threads \ |