Skip to content

base/nss.bst: Ship development tools for the freebl lib

Mat Booth requested to merge (removed):nss-freebl into 18.08

I have a problem with OpenJDK 11 that can be fixed by building against the system version of NSS provided by org.freedesktop.Sdk, instead of the version bundled with OpenJDK:

https://github.com/flathub/org.freedesktop.Sdk.Extension.openjdk11/issues/2

Here is my patch to build the JDK against the system version of NSS:

https://github.com/flathub/org.freedesktop.Sdk.Extension.openjdk11/commit/7b24b36

However, the patch requires that OpenJDK be linked against the libfreebl library provided by NSS but there are some missing devel files that I need to add in order to do this. This change adds the necessary missing headers and .a file to the platform and this allows OpenJDK to build against the system NSS.

FWIW, the same change was made to the version of NSS shipped by Fedora:

Please consider merging this change which does the same to org.freedesktop.Sdk

Thanks

Edited by Mat Booth

Merge request reports