python-netifaces: add -x option to fix cross-compilation
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 9 Jan 2012 07:42:07 +0000 (08:42 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 9 Jan 2012 22:50:50 +0000 (23:50 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/python-netifaces/python-netifaces.mk

index e9a7099cd9706a85f1d6e26e69194e9190fd47f7..5bfa326231bbd54d5e044902a2b13463aefae57d 100644 (file)
@@ -14,7 +14,7 @@ define PYTHON_NETIFACES_BUILD_CMDS
        (cd $(@D); \
                PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
                LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
-       $(HOST_DIR)/usr/bin/python setup.py build)
+       $(HOST_DIR)/usr/bin/python setup.py build -x)
 endef
 
 define PYTHON_NETIFACES_INSTALL_TARGET_CMDS