https://bz.apache.org/ooo/show_bug.cgi?id=126893
--- Comment #6 from Don Lewis <[email protected]> --- The libxslt configure script checks for the presence of clock_gettime() and if it sees that the system has it, it appears to add -lrt to the linker flags (if needed, I think). On *nix, this should cause the shared library to be built with a dependency on the librt shared library, so anything that links to libxslt would then then get librt pulled in as well. I don't know if linking on Windows works the same way. It doesn't look like clock_gettime() is vital. There is a fallback to gettimeofday(), and a further fallback to a no-op if that isn't found. This is all part of some sort of profiling code that we probably don't care about anyway. It looks like it should be possible to disable clock_gettime() by passing ac_cv_func_clock_gettime=no to libxslt's configure script. I think that can be done by editing main/libxslt/makefile.mk and adding it to this line: CONFIGURE_FLAGS=--without-crypto --without-python --enable-static=no --build=i586-pc-mingw32 --host=i586-pc-mingw32 CC="$(xslt_CC)" CFLAGS="$(xslt_CFLAGS)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2 -L$(ILIB:s/;/ -L/)" LIBS="$(xslt_LIBS)" LIBXML2LIB=$(LIBXML2LIB) OBJDUMP=objdump -- You are receiving this mail because: You are the assignee for the issue.
