Commit f04220d2 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Fix compilation on FreeBSD. Thanks to Ryan Dahl for patch.

http://codereview.chromium.org/113897


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2117 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 9e35fb65
...@@ -15,3 +15,4 @@ Matt Hanselman <mjhanselman@gmail.com> ...@@ -15,3 +15,4 @@ Matt Hanselman <mjhanselman@gmail.com>
Paolo Giarrusso <p.giarrusso@gmail.com> Paolo Giarrusso <p.giarrusso@gmail.com>
Rafal Krypa <rafal@krypa.net> Rafal Krypa <rafal@krypa.net>
Rene Rebe <rene@exactcode.de> Rene Rebe <rene@exactcode.de>
Ryan Dahl <coldredlemur@gmail.com>
...@@ -128,6 +128,8 @@ LIBRARY_FLAGS = { ...@@ -128,6 +128,8 @@ LIBRARY_FLAGS = {
'CCFLAGS': ['-ansi'], 'CCFLAGS': ['-ansi'],
}, },
'os:freebsd': { 'os:freebsd': {
'CPPPATH' : ['/usr/local/include'],
'LIBPATH' : ['/usr/local/lib'],
'CCFLAGS': ['-ansi'], 'CCFLAGS': ['-ansi'],
}, },
'os:win32': { 'os:win32': {
...@@ -270,7 +272,7 @@ MKSNAPSHOT_EXTRA_FLAGS = { ...@@ -270,7 +272,7 @@ MKSNAPSHOT_EXTRA_FLAGS = {
'LIBS': ['pthread'], 'LIBS': ['pthread'],
}, },
'os:freebsd': { 'os:freebsd': {
'LIBS': ['pthread'], 'LIBS': ['execinfo', 'pthread']
}, },
'os:win32': { 'os:win32': {
'LIBS': ['winmm', 'ws2_32'], 'LIBS': ['winmm', 'ws2_32'],
...@@ -382,6 +384,7 @@ SAMPLE_FLAGS = { ...@@ -382,6 +384,7 @@ SAMPLE_FLAGS = {
'LIBS': ['pthread'], 'LIBS': ['pthread'],
}, },
'os:freebsd': { 'os:freebsd': {
'LIBPATH' : ['/usr/local/lib'],
'LIBS': ['execinfo', 'pthread'] 'LIBS': ['execinfo', 'pthread']
}, },
'os:win32': { 'os:win32': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment