mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
xinetd: fix build without RPC support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user