[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: libtool .la hack


You are wrote "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> Tue, 20 Apr 2004 14:28:19

> I recently hacked libtool (distributed with OpenLDAP) so
> that it doesn't look for .la files in the library search
> directories...  this means that -static only causes
> OpenLDAP libraries to be statically linked (as intended).

I think it's not good idea? becose many Linux distrib use dynamic linked

I'm a mainteiner of OpenLDAP package for ALT Linux Distrib (Russia) and our
libtool hacker (LDV) made some patches for our libtool package and correct in
OpenLDAP package. The patch for Openldap is

# Purge dependency_libs from .la files.
%__subst -p
's/^\(dependency_libs=\).*/\1'\'\'/$RPM_BUILD_ROOT%_libdir/%name/*. la

and changelog is
* Wed Dec 03 2003 Dmitry V. Levin <ldv at altlinux.org> 2.1.23-alt3
- libldap-devel: do not package .la files.
- openldap-servers: purge dependency_libs from .la files.

> Anyone notice any bad side effects?
> Kurt

> Вот я пользуюсь pine, причём каждый день.
Я вам сочувствую.
Несколько лет назад одного письма "специального вида" мне было достаточно,
чтобы навсегда распрощаться с этим почтовым клиентом.
		-- ldv in devel@