Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[win+java] fix the name of libwinpthread-1.dll
[simgrid.git] / src / bindings / java / org / simgrid / surf / SurfJNI.java
index abd3a25..277db31 100644 (file)
@@ -14,7 +14,7 @@ public class SurfJNI {
 
   static {
     if (System.getProperty("os.name").toLowerCase().startsWith("win"))
-        NativeLib.nativeInit("winpthread");
+        NativeLib.nativeInit("winpthread-1");
     NativeLib.nativeInit("simgrid");
     NativeLib.nativeInit("surf-java");
     Runtime.getRuntime().addShutdownHook(