On Wed, 2020-07-15 at 20:18 -0400, Dmitri Korin wrote:
> I've assumed it doesn't, as I believe libtiff will disable the use of
> its JPEG features when you fail to compile libtiff with the JPEG
> library.

        Hi,
those are independent dependencies of the PoDoFo project. If you do not
compile with some libraries the dependency A and then include
dependency B in the PoDoFo itself, then it cannot magically enable the
functionality from B in A, unless the A has runtime checks for the
required libraries and functions, which is more than unlikely (the A is
libtiff and the B is libjpeg).

> And if I compile lib JPEG both times I'll have the same library twice
> in my podofo compilation, not sure if that would also cause any
> issues.

It depends how you compile them. Using the same libjpeg and have
enabled dynamic linking you do not duplicate the libjpeg code, because
it resides in its own library file. Static linker should also merge the
same symbols, but it's not always possible (statically linked code into
the A might have hidden symbols for the linker). That's my personal
understanding at least.

In any case, these things are not PoDoFo specific, you may ask someone
from your compiler developers to know for sure.
        Bye,
        zyx



_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to