Permalink
Browse files

more windows work

  • Loading branch information...
joeferner committed Feb 8, 2012
1 parent 11b965d commit c36d7fc58f05a71ae60c0d4d26d647c7d0014752
Showing with 8 additions and 6 deletions.
  1. +8 −6 mnm.js
View
14 mnm.js
@@ -17,15 +17,17 @@ builder.appendLinkerSearchDir(ociLibDir);
if(process.platform == 'win32') {
builder.appendLinkerLibrary("oci");
+ builder.appendLinkerLibrary("ociw32");
+ builder.appendLinkerLibrary("oraocci11");
} else {
builder.appendLinkerLibrary("occi");
builder.appendLinkerLibrary("clntsh");
-}
-if (path.existsSync(path.join(ociLibDir, "libnnz10.dylib"))
- || path.existsSync(path.join(ociLibDir, "libnnz10.so"))) {
- builder.appendLinkerLibrary("nnz10");
-} else {
- builder.appendLinkerLibrary("nnz11");
+ if (path.existsSync(path.join(ociLibDir, "libnnz10.dylib"))
+ || path.existsSync(path.join(ociLibDir, "libnnz10.so"))) {
+ builder.appendLinkerLibrary("nnz10");
+ } else {
+ builder.appendLinkerLibrary("nnz11");
+ }
}
builder.target = "oracle_bindings"

0 comments on commit c36d7fc

Please sign in to comment.