From 6b0ee5e946aedfa913d725cd57b419af0d219e67 Mon Sep 17 00:00:00 2001 From: Matthew Furseman Date: Tue, 7 Sep 2021 11:13:37 +0100 Subject: [PATCH] Conditionally use tirpc if defined --- streamApp/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/streamApp/Makefile b/streamApp/Makefile index 2dc48ae..20963bd 100644 --- a/streamApp/Makefile +++ b/streamApp/Makefile @@ -78,6 +78,13 @@ endif PROD_LIBS += $(EPICS_BASE_IOC_LIBS) +# Some linux systems moved RPC related symbols to libtirpc +# Define TIRPC in configure/CONFIG_SITE in this case +ifeq ($(TIRPC),YES) + USR_INCLUDES_Linux += -I/usr/include/tirpc + PROD_SYS_LIBS_DEFAULT += tirpc +endif + # switch off annoying rset warnings in 3.16+ CPPFLAGS += -DUSE_TYPED_RSET