projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4518eac
)
Try to fix Linux build.
author
Carl Hetherington
<cth@carlh.net>
Sat, 16 Jan 2021 02:54:22 +0000
(
03:54
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 16 Jan 2021 02:54:22 +0000
(
03:54
+0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index f15c0291cf6975d139979fabf522c5b1bae3e02b..9219f1293aa2380b46cf22ea08708745b3f4a278 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-101,6
+101,9
@@
def configure(conf):
else:
conf.env.append_value('CXXFLAGS', '-O3')
+ if not conf.env.TARGET_WINDOWS:
+ conf.env.append_value('LINKFLAGS', '-pthread')
+
# Disable libxml++ deprecation warnings for now
conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations'])