summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYaakov Selkowitz2012-06-12 19:05:15 -0500
committerMike Frysinger2016-04-03 23:59:15 -0400
commit74f58ed48cd6b8bdb3fb265b649db7dea4574341 (patch)
tree10b89a85ad8d0e9a67c95602c4ab0a3e9e24f48a /scripts
parenta0f24a06df79e70661d43fb543272e2fc1074291 (diff)
downloadbusybox-74f58ed48cd6b8bdb3fb265b649db7dea4574341.zip
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/lxdialog/check-lxdialog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh
index b75820b..e3b12c0 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