Skip to content

Commit 877ee2d

Browse files
committed
fix windows build
1 parent eb09f7b commit 877ee2d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

AMBuildScript

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ class ExtensionConfig(object):
209209
'/W3',
210210
]
211211
cxx.cxxflags += [
212+
'/std:c++17',
212213
'/EHsc',
213214
'/GR-',
214215
'/TP',

third_party/ixwebsocket/AMBuilder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ for cxx in builder.targets:
88
binary = Extension.StaticLibrary(builder, cxx, 'ixwebsocket')
99
if binary.compiler.target.platform == 'linux':
1010
binary.compiler.includes += [
11-
os.path.join(builder.sourcePath, 'third_party', 'openssl', 'build', 'include'),
11+
os.path.join(builder.sourcePath, 'third_party', 'openssl', 'include'),
1212
os.path.join(builder.sourcePath, 'third_party', 'ixwebsocket'),
1313
]
1414
elif binary.compiler.target.platform == 'windows':
1515
binary.compiler.includes += [
16-
os.path.join(builder.sourcePath, 'third_party', 'openssl', 'build', 'include'),
16+
os.path.join(builder.sourcePath, 'third_party', 'openssl', 'include'),
1717
os.path.join(builder.sourcePath, 'third_party', 'ixwebsocket'),
1818
os.path.join(builder.sourcePath, 'third_party', 'zlib'),
1919
]

0 commit comments

Comments
 (0)