mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
lmbench: use pkg-config to find libtirpc
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
80be8753d5
commit
5f1be2acf4
@ -14,9 +14,9 @@ LMBENCH_CFLAGS = $(TARGET_CFLAGS)
|
|||||||
LMBENCH_LDLIBS = $(TARGET_LDFLAGS)
|
LMBENCH_LDLIBS = $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||||
LMBENCH_DEPENDENCIES += libtirpc
|
LMBENCH_DEPENDENCIES += host-pkgconf libtirpc
|
||||||
LMBENCH_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc/
|
LMBENCH_CFLAGS += $(shell $(PKG_CONFIG_HOST_BINARY) --cflags libtirpc)
|
||||||
LMBENCH_LDFLAGS += -ltirpc
|
LMBENCH_LDFLAGS += $(shell $(PKG_CONFIG_HOST_BINARY) --libs libtirpc)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define LMBENCH_CONFIGURE_CMDS
|
define LMBENCH_CONFIGURE_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user