|
|
FTR: there has been a proposal to use "prefixing" [1] (or something like that) to rename all lib{png|jpeg|z} symbols (function names etc.) for internal use. This would - if done correctly - essentially make the bundled libs totally different than the system libs. This would avoid name clashes like this but would mean that app code would also have to use the prefixed function names if the app wants to use the (bundled) libs.
I tried to search for an STR or issue but couldn't find one (which doesn't mean that it doesn't exist).
Generally I don't like this approach because it obfuscates other issues, but if it helps solving this issue it might be a potential solution.
[1] Prefixing works by defining other names like '#define png_something fl_png_something ' for all functions and global data of the lib. Some of the bundled libs are prepared for this but not all IIRC.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |