[PATCH] do not link cons.saver with libglib

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 4 13:31:03 UTC 2010


Hi,

Fedora build machinery noticed that cons.saver acquired
a new library in ldd listing, libglib.

I took a look at it and apparently it is not needed.

With the attached trivial patch I successfully built
mc where cons.saver no longer uses libglib:

# ldd cons.saver
	linux-vdso.so.1 =>  (0x00007fffe9905000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f4e3fd24000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f4e3f9a4000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4e4000a000)

# ldd cons.saver.fixed
	linux-vdso.so.1 =>  (0x00007fff8a0b8000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f5043d2b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f50440ab000)

Please review/apply.

-- 
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cons.saver.sans.libglib.diff
Type: application/octet-stream
Size: 1638 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20100604/4a5ee304/attachment.obj>


More information about the mc-devel mailing list