All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kconfig: fix check-lxdialog for DLL platforms
@ 2012-06-13  0:05 Yaakov (Cygwin/X)
  2012-06-13  0:05 ` [PATCH] kconfig: check ncursesw headers first in check-lxdialog Yaakov (Cygwin/X)
  0 siblings, 1 reply; 4+ messages in thread
From: Yaakov (Cygwin/X) @ 2012-06-13  0:05 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild

From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

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>
---
Also applies to all 3.x stable branches

 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 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
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-04 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13  0:05 [PATCH] kconfig: fix check-lxdialog for DLL platforms Yaakov (Cygwin/X)
2012-06-13  0:05 ` [PATCH] kconfig: check ncursesw headers first in check-lxdialog Yaakov (Cygwin/X)
2012-06-12  0:29   ` [PATCH] kconfig/nconf: fix compile with ncurses reentrant API Yaakov (Cygwin/X)
2012-07-04 16:32     ` Michal Marek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.