[tlbuild] Stripping the luatex binary
Philipp Stephani
st_philipp at yahoo.de
Fri May 6 11:20:45 CEST 2011
Am 06.05.2011 um 10:59 schrieb Peter Breitenlohner:
> 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'.
Certainly not in all cases, otherwise this error would never have occurred. The makeconv linker command is something like
... -L../lib -licuuc ...
where ../lib contains the static libraries.
More information about the tlbuild
mailing list