duplicate symbols in static libraries

Johan Vos johan.vos at gluonhq.com
Mon Oct 21 11:26:02 UTC 2019


When creating static libraries for the native parts of JavaFX, I ran into
an issue with symbols exposed in more than 1 library:
checkAndClearException() is declared and used in both libjavafx_font.a and
in libprism_sw.a

I have a simple fix for this that adds a prefix to the symbol in the
prism-sw code:

However, I'm not sure this is the generally agreed approach. Are there
opinions/guidelines for this?

- Johan

More information about the openjfx-dev mailing list