Ticket #2148 (new enhancement)
Support for --with-slang-static option
Reported by: | and | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mc-core | Version: | 4.7.1 |
Keywords: | Cc: | mooffie@… | |
Blocked By: | #2129 | Blocking: | |
Branch state: | no branch | Votes for changeset: |
Description
Hi,
similar to --with-glib-static it would be nice to have an --with-slang-static option to imply slang lib as static part of mc binary
In the meantime I use MCLIBS variable for override Lib defines.
# ./configure --disable-shared --prefix=/opt/mc --with-glib-static --without-gpm-mouse --without-x --with-screen=slang --with-slang-includes=/opt/slang/include --with-slang-libs=/opt/slang/lib
# make -e MCLIBS="-L/opt/slang/lib /opt/slang/lib/libslang.a"
# file src/mc
mc: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically linked, not stripped
# ldd src/mc
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libm.so.2 => /lib/libm.so.2