31 lines
583 B
Python
31 lines
583 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "wireguard_bridge",
|
|
"cflags": [
|
|
"-fpermissive",
|
|
"-fno-exceptions",
|
|
"-w",
|
|
"-fpermissive",
|
|
"-fPIC",
|
|
"-static"
|
|
],
|
|
"cflags_cc": [
|
|
"-fpermissive",
|
|
"-fno-exceptions",
|
|
"-w",
|
|
"-fpermissive",
|
|
"-fPIC",
|
|
"-static"
|
|
],
|
|
"sources": [
|
|
"src/addon/binding.cc",
|
|
"src/addon/wgEmbed/wireguard.c",
|
|
],
|
|
"include_dirs" : [
|
|
"<!(node -p \"require('node-addon-api').include_dir\")"
|
|
],
|
|
}
|
|
],
|
|
}
|