Browse Source

win: Fix wscript for libeio on windows

v0.7.4-release
Bert Belder 14 years ago
committed by Ryan Dahl
parent
commit
d1d4695474
  1. 8
      deps/libeio/wscript

8
deps/libeio/wscript

@ -11,10 +11,12 @@ def configure(conf):
conf.check(lib='pthread', uselib_store='PTHREAD')
conf.check_cc(lib="pthread", header_name="pthread.h", function_name="pthread_create", mandatory=True)
if not sys.platform.startswith("cygwin"):
conf.check_cc(lib="pthread", header_name="pthread.h", function_name="pthread_atfork", mandatory=True)
else:
if sys.platform.startswith("cygwin"):
conf.check_cc(lib="pthread", header_name="unistd.h", function_name="pthread_atfork", mandatory=True)
elif sys.platform.startswith("win32"):
conf.check_cc(lib="pthread", header_name="pthread.h", function_name="pthread_atfork")
else:
conf.check_cc(lib="pthread", header_name="pthread.h", function_name="pthread_atfork", mandatory=True)
conf.check_cc(msg="Checking for futimes(2)", define_name="HAVE_FUTIMES", fragment="""
#include <sys/types.h>

Loading…
Cancel
Save