Commit 3725f3ed authored by Yaakov Selkowitz's avatar Yaakov Selkowitz Committed by Michal Marek

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: default avatarYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 84354256
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment