Fix #229 - FreeBSD build error
This commit is contained in:
parent
2885753dca
commit
eb2fd1c1dd
1 changed files with 3 additions and 5 deletions
|
|
@ -1,10 +1,8 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
# Workaround for C++ scanner.cc causing link error with other C obj files
|
# Workaround for C++ scanner.cc causing link error with other C obj files
|
||||||
when defined(MacOSX):
|
switch("clang.linkerexe", "clang++")
|
||||||
switch("clang.linkerexe", "g++")
|
switch("gcc.linkerexe", "g++")
|
||||||
else:
|
|
||||||
switch("gcc.linkerexe", "g++")
|
|
||||||
|
|
||||||
# Workaround for NilAccessError crash on Windows #98
|
# Workaround for NilAccessError crash on Windows #98
|
||||||
# Could also help for OSX/Linux crash
|
# Could also help for OSX/Linux crash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue