configure: Fix detection of ncurses library on Archlinux.

Alexandre Julliard julliard at winehq.org
Thu Sep 4 13:24:13 CDT 2014


Sebastian Lackner <sebastian at fds-team.de> writes:

> On Archlinux the libncurses library is just an ASCII text file
> containing "INPUT(-lncursesw)" to force the linker to use libncursesw
> instead. AC_LINK_IFELSE succeeds, but afterwards, when
> WINE_CHECK_SONAME tries to figure out the name it fails because it
> doesn't recognize libncursesw.so as the same library. Using a regexp
> as pattern is the easiest solution to fix this.

That doesn't do the right thing on Mac OS:

#define SONAME_LIBNCURSES "	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)"

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list