From ea62327b008b39dc48a51aa80343b20a0a122cd6 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Wed, 3 Oct 2018 17:50:03 +0300 Subject: Added Node.js support. --- src/nodejs/unit-http/binding_pub.gyp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/nodejs/unit-http/binding_pub.gyp (limited to 'src/nodejs/unit-http/binding_pub.gyp') diff --git a/src/nodejs/unit-http/binding_pub.gyp b/src/nodejs/unit-http/binding_pub.gyp new file mode 100644 index 00000000..e53538d0 --- /dev/null +++ b/src/nodejs/unit-http/binding_pub.gyp @@ -0,0 +1,7 @@ +{ + 'targets': [{ + 'target_name': "unit-http", + 'sources': ["unit.cpp", "addon.cpp"], + 'libraries': ["unit"] + }] +} -- cgit From 780181412623c0dc9232fc7f56055b6e3312a319 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Tue, 23 Oct 2018 13:06:44 +0300 Subject: Added ability to publish Node.js module. --- src/nodejs/unit-http/binding_pub.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nodejs/unit-http/binding_pub.gyp') diff --git a/src/nodejs/unit-http/binding_pub.gyp b/src/nodejs/unit-http/binding_pub.gyp index e53538d0..6fe3d9bc 100644 --- a/src/nodejs/unit-http/binding_pub.gyp +++ b/src/nodejs/unit-http/binding_pub.gyp @@ -2,6 +2,6 @@ 'targets': [{ 'target_name': "unit-http", 'sources': ["unit.cpp", "addon.cpp"], - 'libraries': ["unit"] + 'libraries': ["-lunit"] }] } -- cgit