rpcbind: use pkg-config for libtirpc flags
Instead of hardcoding the flags needed for libtirpc, use pkg-config. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
baedef979c
commit
c64d6bb8ba
@ -11,7 +11,7 @@ RPCBIND_LICENSE = BSD-3c
|
||||
RPCBIND_LICENSE_FILES = COPYING
|
||||
|
||||
RPCBIND_CONF_ENV += \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/tirpc/"
|
||||
CFLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`"
|
||||
RPCBIND_DEPENDENCIES += libtirpc host-pkgconf
|
||||
RPCBIND_CONF_OPTS += --with-rpcuser=root
|
||||
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
|
||||
|
Loading…
Reference in New Issue
Block a user