summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-26 21:29:43 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-26 21:30:59 +0200
commit6eba051dcbb8c56e3e2efea946ce0380d17a7b33 (patch)
tree3749c9cb5cbd8be4b14936978e13b889ffcc73a3 /wscript
parent2e0cf721530a17b0190c938b04176e0315950053 (diff)
Various OSX warnings fixes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index b0faa8483..b1e2096d4 100644
--- a/wscript
+++ b/wscript
@@ -322,7 +322,7 @@ def configure(conf):
if conf.options.workaround_gssapi:
conf.env.LIB_SSH = ['gssapi_krb5']
else:
- conf.check_cc(fragment="""
+ conf.check_cxx(fragment="""
#include <libssh/libssh.h>\n
int main () {\n
ssh_new ();\n
@@ -501,7 +501,7 @@ def configure(conf):
conf.check_cxx(fragment="""
#include <boost/thread.hpp>\n
- int main() { boost::thread t (); }\n
+ int main() { boost::thread t; }\n
""",
msg='Checking for boost threading library',
libpath='/usr/local/lib',