From 30e5629c7227dcef96ac8c99a81f0f5dc0330bbc Mon Sep 17 00:00:00 2001 From: Michael Traxler Date: Fri, 13 Sep 2019 23:24:35 +0200 Subject: [PATCH] rpc <-> tirpc issues, finally solved for systems with libtirpc installed, mb/jm/mt --- trbnetd/Makefile | 2 +- trbnetd/server/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trbnetd/Makefile b/trbnetd/Makefile index 59c0eb9..4aa7d28 100644 --- a/trbnetd/Makefile +++ b/trbnetd/Makefile @@ -11,7 +11,7 @@ else CPPFLAGS = endif -INCDIR = -I. +INCDIR = -I. -I/usr/include/tirpc/ CC = gcc CFLAGS = -pipe -g -Wall -O3 -fPIC diff --git a/trbnetd/server/Makefile b/trbnetd/server/Makefile index 41234b8..7190473 100644 --- a/trbnetd/server/Makefile +++ b/trbnetd/server/Makefile @@ -21,7 +21,7 @@ else endif endif -INCDIR = -I../../libtrbnet +INCDIR = -I../../libtrbnet -I/usr/include/tirpc/ CFLAGS = -pipe -g -Wall -Winline -O3 -fPIC -finline-functions -finline-limit=600000 @@ -31,7 +31,7 @@ CXXFLAGS = -pipe -g -Wall LD = $(CC) #LD = $(CXX) -LDFLAGS = -ltirpc +LDFLAGS = LIBDIR = -L../../libtrbnet LOADLIBES = -Wl,-Bstatic -ltrbnet -Wl,-Bdynamic -lm -ltirpc -- 2.43.0