From 785f184d91647ccea0dcae55d5a2283bfe2ae662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Sun, 26 Feb 2017 18:29:26 +0000 Subject: [PATCH] Use curl-config to find curl On BSDs headers will be in /usr/local/include which is not added to the include path automatically. --- generate/templates/templates/binding.gyp | 4 ++-- vendor/libgit2.gyp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/generate/templates/templates/binding.gyp b/generate/templates/templates/binding.gyp index 69e2042ad..3def3ac6e 100644 --- a/generate/templates/templates/binding.gyp +++ b/generate/templates/templates/binding.gyp @@ -91,9 +91,9 @@ } ], [ - "OS=='linux' or OS=='mac'", { + "OS=='linux' or OS=='mac' or OS.endswith('bsd')", { "libraries": [ - "-lcurl" + "