Merge pull request #5068 from esaunders/5339-appveyor-jna

See if setting jna.nosys to true fixes our AppVeyor build problem.
This commit is contained in:
Richard Cordovano 2019-07-24 15:48:20 -04:00 committed by GitHub
commit 41116e63b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -299,6 +299,10 @@ public class Installer extends ModuleInstall {
* initialized later.
*/
private static void addGstreamerPathsToEnv() {
if (System.getProperty("jna.nosys") == null) {
System.setProperty("jna.nosys", "true");
}
Path gstreamerPath = InstalledFileLocator.getDefault().locate("gstreamer", Installer.class.getPackage().getName(), false).toPath();
if (gstreamerPath == null) {