Skip to content

Commit 7a3700e

Browse files
committed
Fix erroneous OS detection for installation in OS X.
1 parent 37be1ee commit 7a3700e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var dependencies = Q.allSettled([
129129
var flags = ['-DTHREADSAFE=ON', '-DBUILD_CLAR=OFF'];
130130

131131
// Windows flags.
132-
if (process.platform.indexOf('win') > -1) {
132+
if (process.platform === 'win32') {
133133
flags.push.apply(flags, [
134134
'-DSTDCALL=OFF',
135135
'-DBUILD_SHARED_LIBS=OFF',

0 commit comments

Comments
 (0)