<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi all,<br />I'm starting to use jextract to workaround some issues I found in AWT.<br />AWT uses 20+ years old APIs for notifications and tray icons and it doesn't work well in recent Linux distros and on Windows 11 24H2.</p>
<p>I must say that foreign memory API is a massive improvement to the Java ecosystem, wow.<br />I created a binding for the tray icon and for the notification API in minutes, this is awesome.</p>
<p>To create my bindings I start with jextract with something like this:<br />jextract \<br />-l ayatana-appindicator3 \<br />-l appindicator3 \<br />....<br />/usr/include/libayatana-appindicator3-0.1/libayatana-appindicator/app-indicator.h</p>
<p><br />With this command I would tell to jextract to search for <br />ayatana-appindicator3<br />or <br />appindicator3 </p>
<p>but when I use the binding it throws an exception if one of the two libs are not present.</p>
<p><br />Libs uses the same interfaces and I don't need two bindings for these two libraries.</p>
<p>Is it possible to tell to jextract to create a binding that searches for "multiple lib name" and don't throw and error in the event that one lib is found?<br /><br />Thanks<br />Davide</p>

</body></html>