You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/12/19 13:29:44 UTC

couch commit: updated refs/heads/master to f7ccb9b

Repository: couchdb-couch
Updated Branches:
  refs/heads/master 3a519b2d1 -> f7ccb9b6c


Find curl.h on FreeBSD


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f7ccb9b6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f7ccb9b6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f7ccb9b6

Branch: refs/heads/master
Commit: f7ccb9b6cc520293322733e290ca2522d45987fb
Parents: 3a519b2
Author: Robert Newson <rn...@apache.org>
Authored: Sat Dec 19 12:29:07 2015 +0000
Committer: Robert Newson <rn...@apache.org>
Committed: Sat Dec 19 12:29:07 2015 +0000

----------------------------------------------------------------------
 rebar.config.script | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f7ccb9b6/rebar.config.script
----------------------------------------------------------------------
diff --git a/rebar.config.script b/rebar.config.script
index 53b3ca9..c2142ee 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -65,6 +65,8 @@ ok = CopyIfDifferent(CouchJSConfig, ConfigBin),
         case os:type() of
             {win32, _} ->
                 {"/DHAVE_CURL /IC:\\relax\\curl\\include", "/LIBPATH:C:\\relax\\js-1.8.5\\js\\src /LIBPATH:C:\\Relax\\curl\\lib\\release-ssl mozjs185-1.0.lib libcurl_imp.lib"};
+            {unix, freebsd} ->
+                {"-DHAVE_CURL -I/usr/local/include", "-DHAVE_CURL -lmozjs185 -lcurl"}
             _ ->
                 {"-DHAVE_CURL", "-DHAVE_CURL -lmozjs185 -lcurl"}
         end;