Skip to content

Commit

Permalink
kconfig: fix check-lxdialog for DLL platforms
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yaakov Selkowitz authored and Michal Marek committed Jul 4, 2012
1 parent 8435425 commit 3725f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/lxdialog/check-lxdialog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3725f3e

Please sign in to comment.