summaryrefslogtreecommitdiffstats
path: root/recipes-core/coreutils/coreutils-6.9/loadavg.patch
blob: c72efd4d3042ee187c11a20b97e6e091ad09fe36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Remove hardcoded paths so OE's configure QA does not detect it and fail the builds
For cross compilation is less interesting to look into host paths for target libraries anyway

Upstream-Status: Inappropriate [OE Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>

Index: coreutils-6.9/m4/getloadavg.m4
===================================================================
--- coreutils-6.9.orig/m4/getloadavg.m4
+++ coreutils-6.9/m4/getloadavg.m4
@@ -49,7 +49,6 @@ if test $gl_have_func = no; then
   # There is a commonly available library for RS/6000 AIX.
   # Since it is not a standard part of AIX, it might be installed locally.
   gl_getloadavg_LIBS=$LIBS
-  LIBS="-L/usr/local/lib $LIBS"
   AC_CHECK_LIB(getloadavg, getloadavg,
 	       [LIBS="-lgetloadavg $LIBS"], [LIBS=$gl_getloadavg_LIBS])
 fi