From: Scott Howard <showard@debian.org>
Date: Wed, 28 Mar 2018 15:52:22 -0300
Subject: Use system library listserialsj

Forwarded: not-needed
---
 arduino-core/src/processing/app/Platform.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arduino-core/src/processing/app/Platform.java b/arduino-core/src/processing/app/Platform.java
index 9133813..cc8d9f1 100644
--- a/arduino-core/src/processing/app/Platform.java
+++ b/arduino-core/src/processing/app/Platform.java
@@ -141,7 +141,7 @@ public class Platform {
   }
 
   static {
-    loadLib(new File(BaseNoGui.getContentFile("lib"), System.mapLibraryName("listSerialsj")));
+    System.loadLibrary("listSerialsj");
   }
 
   private static void loadLib(File lib) {
