Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach NarProperties to extract a list of all known AOLs
In the upcoming support for using native-lib-loader to unpack and load our native libraries, we will need to stay platform-independent. Hence we will need to know what native libraries are bundled for the current architecture/OS. Unfortunately, this is not enough information because NAR uses a full AOL identifier (in particular, the linker name) to identify the location of the native library in the .nar file. To remedy this, we will simply look in the paths corresponding to all AOLs matching the current "AO". Side note: using properties.keySet() does *not* work in NarProperties because the properties are usually empty. The properties inherit their defaults from an opaque Properties object passed to the constructor, hence the keys we are after are only available via the propertyNames() method. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information