File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,28 @@ path="$lib/pure"
85
85
86
86
@ if unix and mingw:
87
87
# Cross compile for Windows from Linux/OSX using MinGW
88
- os = windows
89
-
90
- i386.windows.gcc.path = " /usr/bin"
91
88
i386.windows.gcc.exe = " i686-w64-mingw32-gcc"
92
89
i386.windows.gcc.linkerexe = " i686-w64-mingw32-gcc"
90
+ i386.windows.gcc.cpp.exe = " i686-w64-mingw32-g++"
91
+ i386.windows.gcc.cpp.linkerexe = " i686-w64-mingw32-g++"
93
92
94
- amd64.windows.gcc.path = " /usr/bin"
95
93
amd64.windows.gcc.exe = " x86_64-w64-mingw32-gcc"
96
94
amd64.windows.gcc.linkerexe = " x86_64-w64-mingw32-gcc"
95
+ amd64.windows.gcc.cpp.exe = " x86_64-w64-mingw32-g++"
96
+ amd64.windows.gcc.cpp.linkerexe = " x86_64-w64-mingw32-g++"
97
+
98
+ @ if macosx:
99
+ i386.windows.gcc.path = " /usr/local/bin"
100
+ amd64.windows.gcc.path = " /usr/local/bin"
101
+ @ else :
102
+ i386.windows.gcc.path = " /usr/bin"
103
+ amd64.windows.gcc.path = " /usr/bin"
104
+ @ end
105
+
106
+ os = windows
107
+
108
+ gcc.options.linker = " "
109
+ gcc.cpp.options.linker = " "
97
110
@ end
98
111
99
112
@ if unix:
You can’t perform that action at this time.
0 commit comments