twall/jna — pull request #371 by bertramn (2014-10-01 08:06:05+00:00)
Title: Added OSGi Bundle-NativeCode entry to support Windows 8.1

Hi Timothy,

as discussed on the user forum, a patch that will ensure the JNA package can be installed in an OSGi container running on Windows 8.1. There are 2 options to consider:

On the proposed path, we could make the additional native library entry also version specific by adding `...;osname=win;osversion=6.3.0` to make sure that entry only matches on windows 8.1, but that would break as soon as Windows decides to bump that number and there is no wildcard support in Apache Felix as far as I can see to specify something like `6.*.*`. So this is more a FYI than a workable option I guess.

The other alternative would be to add a `*` at the very end to effectively bypass the OSGi container check, but I can see from comments in the build.xml file that it should specifically fail on platforms that are not supported.

Hope suggested "workaround" will work for you. Sorry did not test this specific build, am not setup for make, gcc atm but I did test the configuration on a shaded bundle where I regenerate the manifest.

Cheers,
Niels