Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 1 | Do not add prefix/lib to library search path |
| 2 | let sysroot take care of that |
| 3 | |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 5 | Upstream-Status: Inappropriate[Cross-compile specific] |
| 6 | |
| 7 | Index: boinc-client_release-7.6-7.6.33/m4/ax_check_gl.m4 |
| 8 | =================================================================== |
| 9 | --- boinc-client_release-7.6-7.6.33.orig/m4/ax_check_gl.m4 |
| 10 | +++ boinc-client_release-7.6-7.6.33/m4/ax_check_gl.m4 |
| 11 | @@ -58,7 +58,7 @@ else |
| 12 | else |
| 13 | ax_try_lib="${ax_lib}" |
| 14 | fi |
| 15 | - LIBS="-L${prefix}/lib ${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}" |
| 16 | + LIBS="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}" |
| 17 | AC_LINK_IFELSE( |
| 18 | [AC_LANG_PROGRAM([[ |
| 19 | # if HAVE_WINDOWS_H && defined(_WIN32) |