Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
mc
mc-fix_lib_search_path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mc-fix_lib_search_path.patch of Package mc
--- m4.include/mc-with-screen-ncurses.m4 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) --- a/m4.include/mc-with-screen-ncurses.m4 +++ b/m4.include/mc-with-screen-ncurses.m4 @@ -9,7 +9,14 @@ AC_DEFUN([mc_CHECK_NCURSES_BY_PATH], [ fi if test x"$ac_ncurses_lib_path" != x; then - ac_ncurses_lib_path="-L"$ac_ncurses_lib_path + case $ac_ncurses_lib_path in + /usr/lib*) + ac_ncurses_lib_path="" + ;; + *) + ac_ncurses_lib_path="-L"$ac_ncurses_lib_path + ;; + esac fi saved_CPPFLAGS="$CPPFLAGS" @@ -32,9 +39,6 @@ AC_DEFUN([mc_CHECK_NCURSES_BY_PATH], [ if test x"$ac_ncurses_inc_path" = x; then ac_ncurses_inc_path="-I/usr/include" fi - if test x"$ac_ncurses_lib_path" = x; then - ac_ncurses_lib_path="-L/usr/lib" - fi found_ncurses=yes AC_DEFINE(HAVE_NCURSES_NCURSES_H, 1, [Define to 1 if you have the <ncurses/ncurses.h> header file.])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor