libevent: only install event_rpcgen.py if python support is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a07032e117
commit
515b511d41
@ -13,3 +13,11 @@ LIBEVENT_INSTALL_STAGING = YES
|
||||
LIBEVENT_INSTALL_TARGET = YES
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,libevent))
|
||||
|
||||
ifneq ($(BR2_PACKAGE_PYTHON),y)
|
||||
# libevent installs a python script to target - get rid of it if
|
||||
# we don't have python support enabled
|
||||
$(LIBEVENT_HOOK_POST_INSTALL):
|
||||
rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
|
||||
touch $@
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user