mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enabled libbreakgen library on Mac
This commit is contained in:
+10
-1
@@ -54,7 +54,16 @@ public class ProcessProxyFactoryImpl extends ProcessProxyFactory {
|
||||
|
||||
@Override
|
||||
public boolean isBreakGenLibraryAvailable() {
|
||||
@NonNls final String libName = SystemInfo.isWindows ? "breakgen.dll" : "libbreakgen.so";
|
||||
@NonNls final String libName;
|
||||
if (SystemInfo.isWindows) {
|
||||
libName = "breakgen.dll";
|
||||
}
|
||||
else if (SystemInfo.isMac) {
|
||||
libName = "libbreakgen.jnilib";
|
||||
}
|
||||
else {
|
||||
libName = "libbreakgen.so";
|
||||
}
|
||||
return new File(PathManager.getBinPath() + File.separator + libName).exists();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user