mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
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_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
RPCBIND_CONF_ENV += \
|
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_DEPENDENCIES += libtirpc host-pkgconf
|
||||||
RPCBIND_CONF_OPTS += --with-rpcuser=root
|
RPCBIND_CONF_OPTS += --with-rpcuser=root
|
||||||
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
|
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user