[packages] numpy: Fix python tweak in last commit
- $(STAGING_DIR) points to $(TOPDIR)/staging_dir/$(ARCH) not $(TOPDIR)/staging_dir git-svn-id: svn://svn.openwrt.org/openwrt/packages@11532 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7a6ccf7c65
commit
d59e5492c2
@ -30,7 +30,7 @@ define Package/numpy/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) $(MAKE_VARS) $(STAGING_DIR)/i386/host/bin/python ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr"
|
cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) $(MAKE_VARS) $(STAGING_DIR)/host/bin/python ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr"
|
||||||
sed -i "s/UCS4/UCS2/g" $(PKG_INSTALL_DIR)/usr/lib/python2.5/site-packages/numpy/core/multiarray.so
|
sed -i "s/UCS4/UCS2/g" $(PKG_INSTALL_DIR)/usr/lib/python2.5/site-packages/numpy/core/multiarray.so
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user