From: Yaakov Selkowitz Date: Wed, 13 Jun 2012 00:05:15 +0000 (-0500) Subject: kconfig: fix check-lxdialog for DLL platforms X-Git-Tag: 1_25_0~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=74f58ed48cd6b8bdb3fb265b649db7dea4574341;p=oweals%2Fbusybox.git kconfig: fix check-lxdialog for DLL platforms Import libraries on Cygwin and MinGW/MSYS use the .dll.a suffix, so checking this suffix is necessary to make sure ncurses will still be found when built without static libraries. Signed-off-by: Yaakov Selkowitz Signed-off-by: Michal Marek Signed-off-by: Mike Frysinger --- diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh index b75820bbd..e3b12c010 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh @@ -4,7 +4,7 @@ # What library to link ldflags() { - for ext in so a dylib ; do + for ext in so a dll.a dylib ; do for lib in ncursesw ncurses curses ; do $cc -print-file-name=lib${lib}.${ext} | grep -q / if [ $? -eq 0 ]; then