mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
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)
This commit is contained in:
parent
39679dbdd4
commit
e765597f65
@ -1,9 +1,11 @@
|
||||
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, ".\\")) {
|
||||
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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user