summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs/libtirpc.patch
blob: 0a2d502b8de434244b1b03bffcb79df84f4c1435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From cb6a4f61adb027f2366318f2c08c8264ebf39218 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 5 Jan 2013 19:53:10 -0800

---
 Makefile.rules | 2 +-
 aclocal.m4     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.rules b/Makefile.rules
index 6fa3e02..709dd04 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -46,7 +46,7 @@ CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
 LIBS += -lpthread
 
 ifdef TIRPCLIB
-CFLAGS += -I/usr/include/tirpc
+CFLAGS += -I=/usr/include/tirpc
 LIBS += $(TIRPCLIB)
 endif
 
diff --git a/aclocal.m4 b/aclocal.m4
index 2a9a802..0e4a624 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -416,7 +416,7 @@ AC_DEFUN([AF_CHECK_LIBTIRPC],
 # save current flags
 af_check_libtirpc_save_cflags="$CFLAGS"
 af_check_libtirpc_save_ldflags="$LDFLAGS"
-CFLAGS="$CFLAGS -I/usr/include/tirpc"
+CFLAGS="$CFLAGS -I=/usr/include/tirpc"
 LDFLAGS="$LDFLAGS -ltirpc"
 
 AC_TRY_LINK(