diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-06-12 19:05:15 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-03 23:59:15 -0400 |
commit | 74f58ed48cd6b8bdb3fb265b649db7dea4574341 (patch) | |
tree | 10b89a85ad8d0e9a67c95602c4ab0a3e9e24f48a | |
parent | a0f24a06df79e70661d43fb543272e2fc1074291 (diff) | |
download | busybox-74f58ed48cd6b8bdb3fb265b649db7dea4574341.tar.gz |
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 <yselkowitz@users.sourceforge.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | scripts/kconfig/lxdialog/check-lxdialog.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |