Skip to content

Commit c36d7fc

Browse files
committed
more windows work
1 parent 11b965d commit c36d7fc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

mnm.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ builder.appendLinkerSearchDir(ociLibDir);
1717

1818
if(process.platform == 'win32') {
1919
builder.appendLinkerLibrary("oci");
20+
builder.appendLinkerLibrary("ociw32");
21+
builder.appendLinkerLibrary("oraocci11");
2022
} else {
2123
builder.appendLinkerLibrary("occi");
2224
builder.appendLinkerLibrary("clntsh");
23-
}
24-
if (path.existsSync(path.join(ociLibDir, "libnnz10.dylib"))
25-
|| path.existsSync(path.join(ociLibDir, "libnnz10.so"))) {
26-
builder.appendLinkerLibrary("nnz10");
27-
} else {
28-
builder.appendLinkerLibrary("nnz11");
25+
if (path.existsSync(path.join(ociLibDir, "libnnz10.dylib"))
26+
|| path.existsSync(path.join(ociLibDir, "libnnz10.so"))) {
27+
builder.appendLinkerLibrary("nnz10");
28+
} else {
29+
builder.appendLinkerLibrary("nnz11");
30+
}
2931
}
3032

3133
builder.target = "oracle_bindings"

0 commit comments

Comments
 (0)