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

Re: Common symbols break OpenLDAP on Mac OS X (ITS#796)



>>- patch from Fred Sanchez <wsanchez@apple.com> to ltmain.sh and ltconfig to
>>support "dyld" dynamic linker. Fred has submitted these to the GNU libtool folk.
>
>I apply the patch, but note that the change will be overwritten
>upon the next update of autoconf/libtool.  So, do your best to
>get the autoconf/libtool folks to integrate your changes into
>their base system...

Fred has already submitted this, so this should be the case.

>>- initialize global variables to NULL, guarded with #ifdef __APPLE__.
>>(Initializing mutexes is thread-library dependent, I think.)
>
>All mutexes should be initialized dynamically.  I have no problem
>with other initializations (though prefer without any #ifdef'ing).

Well, the mutex has to be initialized to _something_ under Darwin
otherwise libldap_r cannot be built as a shared library.

>>- terminate sed scripts in build/mkdep
>
>Applied.

Thanks!


-- Luke



--
Luke Howard | Darwin Developer | PADL Software Pty Ltd
www.padl.com | lukeh@darwin.apple.com | lukeh@padl.com