From 5ecc6df502a9d5a4bcb5e4b4242a11f55e822b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 16 Aug 2022 23:12:00 +0800 Subject: 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. --- binding.gyp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'binding.gyp') 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" ] } ] -- cgit v1.2.3