python-pycrypto: add host variant
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 30 Mar 2016 15:39:17 +0000 (12:39 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Mar 2016 15:45:53 +0000 (17:45 +0200)
Will be used by the crda python3-enabling patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pycrypto/python-pycrypto.mk

index bb69f41b7cd890859052513a7b0fa557357ad770..20ff4a3a099d583cdf419b37bf4f87030d76cd46 100644 (file)
@@ -22,6 +22,7 @@ define PYTHON_PYCRYPTO_RENAME_LICENSE
        mv $(@D)/LEGAL/copy/LICENSE.orig $(@D)/LEGAL/copy/LICENSE.original
 endef
 PYTHON_PYCRYPTO_POST_EXTRACT_HOOKS += PYTHON_PYCRYPTO_RENAME_LICENSE
+HOST_PYTHON_PYCRYPTO_POST_EXTRACT_HOOKS += PYTHON_PYCRYPTO_RENAME_LICENSE
 PYTHON_PYCRYPTO_LICENSE_FILES += LEGAL/copy/LICENSE.original
 
 PYTHON_PYCRYPTO_DEPENDENCIES = gmp
@@ -44,3 +45,4 @@ define PYTHON_PYCRYPTO_CONFIGURE_CMDS
 endef
 
 $(eval $(python-package))
+$(eval $(host-python-package))