From: Steven Chamberlain <ste...@kfreebsd-i386.pyro.eu.org>

A clone of the existing freebsd target, with -lpthread added and -lexecinfo 
removed
---
 tools/gyp/v8.gyp |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index a659782..b9b32b9 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -673,6 +673,17 @@
                 ],
               }
             ],
+            ['OS=="kfreebsd"', {
+                'link_settings': {
+                  'libraries': [
+                    '-L/usr/local/lib -lpthread',
+                ]},
+                'sources': [
+                  '../../src/platform-freebsd.cc',
+                  '../../src/platform-posix.cc'
+                ],
+              }
+            ],
             ['OS=="openbsd"', {
                 'link_settings': {
                   'libraries': [
-- 
1.7.10




_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to