summaryrefslogtreecommitdiff
path: root/binding.gyp
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-08-16 23:12:00 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-08-16 23:12:00 +0800
commit5ecc6df502a9d5a4bcb5e4b4242a11f55e822b73 (patch)
treee3deec6045250fdf6b542e7ff06815d9a35362c2 /binding.gyp
parent8b72e93f4512de6d07e1e1286a5557eaa72e2448 (diff)
Array function to be used in Javascript
Plus settings to make it to runtime. Though somehow, the array data isn't passed yet to C.
Diffstat (limited to 'binding.gyp')
-rw-r--r--binding.gyp11
1 files changed, 10 insertions, 1 deletions
diff --git a/binding.gyp b/binding.gyp
index 76c29ef..32867c4 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -2,7 +2,11 @@
"targets": [
{
"target_name": "pikul",
- "sources": [ "pikul.c", "pikul_wrap.cxx" ],
+ "sources": [
+ "pikul.c",
+ "anteraja.c",
+ "pikul_wrap.cxx"
+ ],
"conditions": [
['OS=="freebsd"', {
"include_dirs": [
@@ -18,6 +22,11 @@
]
}
]
+ ],
+ "ldflags": [
+ "-L/usr/local/lib",
+ "-lcurl",
+ "-ljson-c"
]
}
]