[tlbuild] dvisvgm build failures on Solaris

Martin Gieseking martin.gieseking at uos.de
Fri Feb 19 21:05:58 CET 2021


Am 19.02.2021 um 20:10 schrieb Mojca Miklavec:
> On Fri, 19 Feb 2021 at 09:00, Henri Menke wrote:
>> If I'm not mistaken you can just unconditionally add -lrt for all
>> platforms.
> 
> I'm not sure:
>      https://stackoverflow.com/questions/1505402/library-not-found-for-lrt-with-qtcreator-mac-os
> 
> I checked with clang on my mac and it doesn't seem to be too happy
> about the flag:
>      ld: library not found for -lrt

What about adding
    AC_CHECK_LIB(rt, clock_gettime, [], [])
to configure.ac? It should ensure to add -lrt only if the library is 
available.

Martin


More information about the tlbuild mailing list.