Re: Useless dependency assumption libxml2 -> libxslt in MSVC scripts
От | Michael Paquier |
---|---|
Тема | Re: Useless dependency assumption libxml2 -> libxslt in MSVC scripts |
Дата | |
Msg-id | CAB7nPqT27N824aQ=p03DvE5KJ3ggP493teOG4ERxpu3VdDQ68A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Useless dependency assumption libxml2 -> libxslt in MSVC scripts (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Thu, Sep 8, 2016 at 9:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Michael Paquier <michael.paquier@gmail.com> writes: >> But I don't understand the reason behind such a restriction to be >> honest because libxml2 does not depend on libxslt. The contrary is >> true: libxslt needs libxml2. > > Right. > >> Note as well that libxml2 does depend on ICONV though. > > Hm, is that true either? I don't see any sign of such a dependency > on Linux: > > $ ldd /usr/lib64/libxml2.so.2.7.6 > linux-vdso.so.1 => (0x00007fff98f6b000) > libdl.so.2 => /lib64/libdl.so.2 (0x000000377a600000) > libz.so.1 => /lib64/libz.so.1 (0x000000377ae00000) > libm.so.6 => /lib64/libm.so.6 (0x0000003779e00000) > libc.so.6 => /lib64/libc.so.6 (0x0000003779a00000) > /lib64/ld-linux-x86-64.so.2 (0x0000003779600000) Peaking into the libxml2 code there is a configure switch --with-iconv, so that's an optional dependency. And the same exists for Windows in their win32/stuff. So I am mistaken and this could be just removed. -- Michael
В списке pgsql-hackers по дате отправления: