mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +02:00
[224873] use Bundle-NativeCode for specifying DLL path
This commit is contained in:
parent
a631aa6935
commit
14d220ec9c
2 changed files with 2 additions and 1 deletions
|
@ -8,4 +8,5 @@ Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
Export-Package: org.eclipse.tm.internal.rapi;x-internal:=true,
|
Export-Package: org.eclipse.tm.internal.rapi;x-internal:=true,
|
||||||
org.eclipse.tm.rapi
|
org.eclipse.tm.rapi
|
||||||
|
Bundle-NativeCode: /lib/os/win32/x86/jrapi.dll;osname="Win32";processor=x86
|
||||||
Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||||
|
|
|
@ -18,7 +18,7 @@ package org.eclipse.tm.rapi;
|
||||||
public class OS {
|
public class OS {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
System.loadLibrary("lib/os/win32/x86/jrapi"); //$NON-NLS-1$
|
System.loadLibrary("jrapi"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final int NOERROR = 0;
|
public static final int NOERROR = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue