xinetd: fix build without RPC support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
db21bfcfd4
commit
1a4b482776
@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_XINETD
|
||||
bool "xinetd"
|
||||
depends on BR2_INET_RPC
|
||||
help
|
||||
xinetd is a secure replacement for inetd. It was originally written by
|
||||
panos@cs.colorado.edu.
|
||||
|
@ -7,4 +7,8 @@ XINETD_VERSION = 2.3.15
|
||||
XINETD_SOURCE = xinetd-$(XINETD_VERSION).tar.gz
|
||||
XINETD_SITE = http://www.xinetd.org
|
||||
|
||||
ifneq ($(BR2_INET_RPC),y)
|
||||
XINETD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DNO_RPC"
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS))
|
||||
|
Loading…
Reference in New Issue
Block a user