aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/boinc/boinc-client/opengl_m4_check.patch
blob: 0b057eabc8448f4b2fe85a92a3950aeff0db6189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Do not add prefix/lib to library search path
let sysroot take care of that

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

Index: boinc-client_release-7.6-7.6.33/m4/ax_check_gl.m4
===================================================================
--- boinc-client_release-7.6-7.6.33.orig/m4/ax_check_gl.m4
+++ boinc-client_release-7.6-7.6.33/m4/ax_check_gl.m4
@@ -58,7 +58,7 @@ else
     else
       ax_try_lib="${ax_lib}"
     fi
-    LIBS="-L${prefix}/lib ${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
+    LIBS="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
     AC_LINK_IFELSE(
     [AC_LANG_PROGRAM([[
 # if HAVE_WINDOWS_H && defined(_WIN32)