[tlbuild] Stripping the luatex binary

Peter Breitenlohner peb at mppmu.mpg.de
Fri May 6 10:59:38 CEST 2011


On Mon, 2 May 2011, Philipp Stephani wrote:

> Am 02.05.2011 um 19:49 schrieb George N. White III:
>
>> You are missing a key option to ld -- "man ld" (on Leopard) says:
>>
>> -search_paths_first
>>                 By default the -lx and -weak-lx options first search for a
>>                 file of the form `libx.dylib' in each directory in the
>>                 library search path, then a file of the form `libx.a' is
>>                 searched for in the library search paths.  This option
>>                 changes it so that in each path `libx.dylib' is searched for
>>                 then `libx.a' before the next path in the library search path
>>                 is searched.
>
> Thanks a lot for this hint! I've read over the ld manpage but must have
> overlooked this.  I think this flag should be added to all invocations of
> the linker on OS X since there are quite a few binaries that link against
> static libraries.

Hi Philipp,

all this actually shouldn't matter for TL2011 because the (static) libraries
from the TL tree are always used with their full path and never use '-L/-l'.

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tlbuild mailing list