Changeset 13901


Ignore:
Timestamp:
2009-01-06T19:34:13+01:00 (9 years ago)
Author:
lars
Message:

Fix python ctypes module compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/python/Makefile

    r13824 r13901  
    1111PKG_NAME:=python 
    1212PKG_VERSION:=2.5.4 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_SOURCE:=Python-$(PKG_VERSION).tar.bz2 
     
    4242$(call Package/python/Default) 
    4343  TITLE+= (full) 
    44   DEPENDS:=+libpthread +zlib 
     44  DEPENDS:=+libpthread +zlib +libffi 
    4545  PROVIDES:=python-core 
    4646endef 
     
    9696        LDFLAGS="$(TARGET_LDFLAGS)" \ 
    9797        LD="$(TARGET_CC)" \ 
    98         HOSTPYTHON=$(PKG_INSTALL_DIR)/host/bin/python \ 
     98        HOSTPYTHON=./hostpython \ 
    9999        HOSTPGEN=./hostpgen \ 
    100100 
     
    116116                sharedmods install 
    117117        (cd $(PKG_BUILD_DIR);mv Parser/pgen hostpgen) 
     118 
     119    # The python executable needs to stay in the rootdir since its location will 
     120    # be used to compute the path of the config files. 
     121        $(CP) $(PKG_BUILD_DIR)/python $(PKG_BUILD_DIR)/hostpython 
    118122        $(MAKE) -C $(PKG_BUILD_DIR) distclean 
    119123 
     
    124128                --without-cxx-main \ 
    125129                --with-threads \ 
     130                --with-system-ffi \ 
    126131                ac_cv_lib_readline_readline=no \ 
    127132                OPT="$(TARGET_CFLAGS)" \ 
Note: See TracChangeset for help on using the changeset viewer.