diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk index 93ba88ca88..4c23156f72 100644 --- a/package/libevent/libevent.mk +++ b/package/libevent/libevent.mk @@ -25,7 +25,7 @@ endef # libevent installs a python script to target - get rid of it if we # don't have python support enabled -ifneq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifneq ($(BR2_PACKAGE_PYTHON3),y) LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT endif