Permalink
Browse files

Also consider the case if the user manually compiled the Release vers…

…ion (as shown in the README).
  • Loading branch information...
1 parent 8d1b4e5 commit 44ca1b98a6951c33893a0ba56090c2e7e04c3018 @TooTallNate TooTallNate committed Jan 11, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 lib/bindings.js
View
@@ -28,9 +28,10 @@ function requireTry () {
module.exports = requireTry(
// Production "Release" buildtype binary
join(__dirname, '..', 'compiled', process.platform, process.arch, bindings)
- // Development files
- // Unix
- , join(__dirname, '..', 'out', 'Debug', bindings)
- // Windows
- , join(__dirname, '..', 'Debug', bindings)
+ // Release files, but manually compiled
+ , join(__dirname, '..', 'out', 'Release', bindings) // Unix
+ , join(__dirname, '..', 'Release', bindings) // Windows
+ // Debug files, for development
+ , join(__dirname, '..', 'out', 'Debug', bindings) // Unix
+ , join(__dirname, '..', 'Debug', bindings) // Windows
)

0 comments on commit 44ca1b9

Please sign in to comment.