Does --with-screen=slang add -lcurses ?
Frédéric L. W. Meunier
lists at pervalidus.net
Tue Jan 21 17:40:06 UTC 2003
When I configure with --with-screen=slang (I use a static
1.4.8) on Cygwin I get
checking for setupterm in -lcurses... yes
during configure.
At link time:
gcc-2.exe -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2
-Wall -s -o mc.exe
...
../edit/libedit.a ../vfs/libvfs-mc.a -L/usr/lib -lglib -lslang -lcurses
I thought it was also linking in libncurses, but:
$ ldd /usr/local/bin/mc.exe
mc.exe -> /usr/local/bin/mc.exe
cygwin1.dll -> /usr/bin/cygwin1.dll
kernel32.dll -> /c/WINDOWS/system32/kernel32.dll
ntdll.dll -> /c/WINDOWS/system32/ntdll.dll
I also tested with -lncurses and "cygncurses6.dll ->
/usr/bin/cygncurses6.dll" doesn't appear in ldd like on other
applications (lynx, w3m...).
--
0 at pervalidus.{net, {dyndns.}org}
More information about the mc-devel
mailing list