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 /scripts/kconfig/lxdialog/check-lxdialog.sh | |
parent | a0f24a06df79e70661d43fb543272e2fc1074291 (diff) | |
download | busybox-w32-74f58ed48cd6b8bdb3fb265b649db7dea4574341.tar.gz busybox-w32-74f58ed48cd6b8bdb3fb265b649db7dea4574341.tar.bz2 busybox-w32-74f58ed48cd6b8bdb3fb265b649db7dea4574341.zip |
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>
Diffstat (limited to '')
-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 @@ | |||
4 | # What library to link | 4 | # What library to link |
5 | ldflags() | 5 | ldflags() |
6 | { | 6 | { |
7 | for ext in so a dylib ; do | 7 | for ext in so a dll.a dylib ; do |
8 | for lib in ncursesw ncurses curses ; do | 8 | for lib in ncursesw ncurses curses ; do |
9 | $cc -print-file-name=lib${lib}.${ext} | grep -q / | 9 | $cc -print-file-name=lib${lib}.${ext} | grep -q / |
10 | if [ $? -eq 0 ]; then | 10 | if [ $? -eq 0 ]; then |