configure: Fix detection of ncurses library on Archlinux.

Sebastian Lackner sebastian at fds-team.de
Thu Sep 4 02:49:20 CDT 2014


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.

Needs autoreconf.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-Fix-detection-of-ncurses-library-on-Archli.patch
Type: text/x-patch
Size: 808 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140904/1a1a6f30/attachment.bin>


More information about the wine-patches mailing list