In particular, in org_apache_activemq_artemis_jlibaio_LibaioContext.c, I see right at the top:
#ifndef _GNU_SOURCE // libaio, O_DIRECT and other things won't be available without this define #define _GNU_SOURCE #endif this has nothing to do with LGPL licenses.. or even libaio on this instance.. That's how you enable O_DIRECT, with O_DIRECT being a Linux extension non conformant with POSIX. the header is there for any source code using it. > …linked to libraries that are LGPL and only LGPL, which is not allowed per > ASF policy. > Dynamic linked.. it doesn't not include libaio.
