internal/build:compile with c mode,when c file
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
#include <uv.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
int uv_tcp_get_io_watcher_fd (uv_tcp_t* handle) {
|
||||
return handle->io_watcher.fd;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
const (
|
||||
LLGoPackage = "link: $(pkg-config --libs libuv); -luv"
|
||||
LLGoFiles = "$(pkg-config --cflags libuv): _wrap/libuv.cpp"
|
||||
LLGoFiles = "$(pkg-config --cflags libuv): _wrap/libuv.c"
|
||||
)
|
||||
|
||||
// ----------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user