瀏覽代碼

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>
Yaakov Selkowitz 13 年之前
父節點
當前提交
3725f3ed12
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/kconfig/lxdialog/check-lxdialog.sh

+ 1 - 1
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