rpc-tirpc: Fix building TI-RPC code
PATCH 1/1 rpc-tirpc: Fix building TI-RPC code
TIRPC_LIBS variable requires including include/mk/env_pre.mk.
(Not included in Makefile.inc, because all it's users include env_pre.mk themselves).
Fixes c7d2a7458 ("rpc-tirpc: Detect libtirpc with pkg-config")
Fixes 60b20c428 ("rpc: Enable and fix build basic RPC tests with glibc SunRPC")
Signed-off-by Petr Vorel <[email protected]>
--- testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/Makefile | 2 ++ .../network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/Makefile | 2 ++ 2 files changed, 4 insertions(+)
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/Makefile +2 -0
@@ -3,6 +3,8 @@ top_srcdir ?= ../../../../../.. +include $(top_srcdir)/include/mk/env_pre.mk + ifeq ($(TIRPC_LIBS),) FILTER_OUT_DIRS += tirpc endif
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/Makefile +2 -0
@@ -3,6 +3,8 @@ top_srcdir ?= ../../../../../../.. +include $(top_srcdir)/include/mk/env_pre.mk + ifeq ($(TIRPC_LIBS),) # glibc does not define registerrpc() in <rpc/rpc.h> # registerrpc() is deprecated in libtirpc, it should be replaced by rpc_reg()
Signature · 1 line
2.26.2