Re: Static linking of MC



Hello!

In order to include MC as a filemanager with mondo (cd
backup system) I need to have it statically linked. I
looked at the make file and it is a snakepit. Any
pointers on where I should put the -static option to
the linker?

LDFLAGS, quite obviously.  You will see it if you run "./configure --help"

Actually, it's better to specify LDFLAGS at the configure time, so that
the configure script skips the libraries that are not available for static
linking:

./configure LDFLAGS=-static && make

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]