diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-19 21:31:57 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-19 21:31:57 +0200 |
commit | 515b511d41dad7d59045e4dc08a5b7e5b2fba353 (patch) | |
tree | c87a246c3076c1acce74889efd384f171ba144e5 /package/libevent/libevent.mk | |
parent | a07032e11781f8f6e7586eb6261a9189f030f3ab (diff) | |
download | buildroot-novena-515b511d41dad7d59045e4dc08a5b7e5b2fba353.tar.gz buildroot-novena-515b511d41dad7d59045e4dc08a5b7e5b2fba353.zip |
libevent: only install event_rpcgen.py if python support is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libevent/libevent.mk')
-rw-r--r-- | package/libevent/libevent.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk index c63dbdb44..f71bf9a11 100644 --- a/package/libevent/libevent.mk +++ b/package/libevent/libevent.mk @@ -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 |