Do not pass -B to python. It might not like it.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23370 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
168d935cdf
commit
0604cfba86
@ -98,9 +98,10 @@ define Build/Configure
|
||||
echo "LIBDIR_OPENGL $(TARGET_LIBDIRS)" >> $(SIPCFGFILE); \
|
||||
echo "LIBDIR_X11 $(TARGET_LIBDIRS)" >> $(SIPCFGFILE); \
|
||||
( \
|
||||
export PYTHONPATH="$(STAGING_DIR_HOST)/$(PYTHON_PKG_DIR)"; \
|
||||
cd "$(PKG_BUILD_DIR)"; \
|
||||
python -B ./configure.py \
|
||||
export PYTHONPATH="$(STAGING_DIR_HOST)/$(PYTHON_PKG_DIR)"; \
|
||||
export PYTHONDONTWRITEBYTECODE=1; \
|
||||
python ./configure.py \
|
||||
--use-arch="$(ARCH)" \
|
||||
--qmake="$(STAGING_DIR_HOST)/bin/qmake" \
|
||||
--qmake-spec="$(STAGING_DIR)/usr/share/mkspecs/linux-openwrt-g++" \
|
||||
|
@ -47,7 +47,8 @@ define Build/Configure
|
||||
echo "AR $(TARGET_CROSS)ar cqs" >> $(PYTHON_SIP_CONFIG_TEMPLATE); \
|
||||
echo "STRIP $(STRIP)" >> $(PYTHON_SIP_CONFIG_TEMPLATE); \
|
||||
( cd "$(PKG_BUILD_DIR)"; \
|
||||
python -E -B ./configure.py \
|
||||
export PYTHONDONTWRITEBYTECODE=1; \
|
||||
python -E ./configure.py \
|
||||
--bindir=$(PKG_INSTALL_DIR)/usr/bin \
|
||||
--destdir=$(PKG_INSTALL_DIR)/$(PYTHON_PKG_DIR) \
|
||||
--incdir=$(PKG_INSTALL_DIR)/usr/include \
|
||||
@ -89,7 +90,8 @@ endef
|
||||
|
||||
define Host/Configure
|
||||
( cd "$(HOST_BUILD_DIR)"; \
|
||||
python -E -B ./configure.py \
|
||||
export PYTHONDONTWRITEBYTECODE=1; \
|
||||
python -E ./configure.py \
|
||||
--bindir=$(STAGING_DIR_HOST)/usr/bin \
|
||||
--destdir=$(STAGING_DIR_HOST)/$(PYTHON_PKG_DIR) \
|
||||
--incdir=$(STAGING_DIR_HOST)/usr/include \
|
||||
|
Loading…
x
Reference in New Issue
Block a user