@@ -6,11 +6,17 @@ builder.SetBuildFolder('ixwebsocket')
66rvalue = {}
77for cxx in builder .targets :
88 binary = Extension .StaticLibrary (builder , cxx , 'ixwebsocket' )
9- binary .compiler .includes += [
10- os .path .join (builder .sourcePath , 'third_party' , 'openssl' , 'include' ),
11- os .path .join (builder .sourcePath , 'third_party' , 'ixwebsocket' , 'ixwebsocket' ),
12- os .path .join (builder .sourcePath , 'third_party' , 'zlib' ),
13- ]
9+ if binary .compiler .target .platform == 'linux' :
10+ binary .compiler .includes += [
11+ os .path .join (builder .sourcePath , 'third_party' , 'ixwebsocket' ),
12+ os .path .join (builder .sourcePath , 'third_party' , 'zlib' ),
13+ ]
14+ elif binary .compiler .target .platform == 'windows' :
15+ binary .compiler .includes += [
16+ os .path .join (builder .sourcePath , 'third_party' , 'openssl' , 'include' ),
17+ os .path .join (builder .sourcePath , 'third_party' , 'ixwebsocket' ),
18+ os .path .join (builder .sourcePath , 'third_party' , 'zlib' ),
19+ ]
1420
1521 binary .compiler .defines += [
1622 'IXWEBSOCKET_USE_TLS' ,
0 commit comments