lipjpeg7 in static library

Johan Vos johan.vos at gluonhq.com
Wed Jan 24 10:42:25 UTC 2018


Hi,

We are currently building a native library for javafx_iio which includes
libjpeg7. As a consequence, those symbols are included in the static
libjavafx_iio.a on iOS. If we add other libraries (e.g. OpenCV) this can
result in duplicate symbols, as the libjpeg7 library might be included in
other frameworks as well.

As a dirty hack, I build 2 versions of libjavafx_iio.a: one with libjpeg7,
and one without. A better solution might be to prefix the symbols in the
libjpeg7 files.

Or are there better ideas?

Thanks,

- Johan


More information about the openjfx-dev mailing list