ext-uv/config.w32
Shuhei Tanuma e765597f65 for now, php-uv can build on windows box. but it requires some work.
* make libuv first.
* after configure, add Iphlpapi.lib and psapi.lib on your Makefile directly.
* don't mix debug / release build (LIBCMTD conflicts)
2012-06-19 02:44:03 +09:00

11 lines
378 B
Plaintext

ARG_ENABLE("uv", "for uv support", "no");
if (PHP_UV != "no") {
if (CHECK_HEADER_ADD_INCLUDE("uv.h", "CFLAGS_UV", ".\\libuv\\include") &&
CHECK_LIB("uv.lib", "uv", PHP_UV, ".\\")) {
EXTENSION('uv', 'php_uv.c uv.c');
} else {
WARNING("uv not enabled; libraries and/or headers not found");
}
CHECK_LIB("Iphlpapi.lib","iphlpapi",PHP_UV);
}