Reviewers: Erik Corry, Description: Fix problems compiling on FreeBSD when using snapshot=on. MKSNAPSHOT_EXTRA_FLAGS should have execinfo for LIBS. Also the FreeBSD port collection installs libexecinfo into /usr/local which is not searched, so add /usr/local to CPPPATH and LIBPATH.
Please review this at http://codereview.chromium.org/113897 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M SConstruct Index: SConstruct =================================================================== --- SConstruct (revision 2064) +++ SConstruct (working copy) @@ -128,6 +128,8 @@ 'CCFLAGS': ['-ansi'], }, 'os:freebsd': { + 'CPPPATH' : ['/usr/local/include'], + 'LIBPATH' : ['/usr/local/lib'], 'CCFLAGS': ['-ansi'], }, 'os:win32': { @@ -270,7 +272,7 @@ 'LIBS': ['pthread'], }, 'os:freebsd': { - 'LIBS': ['pthread'], + 'LIBS': ['execinfo', 'pthread'] }, 'os:win32': { 'LIBS': ['winmm', 'ws2_32'], @@ -382,6 +384,7 @@ 'LIBS': ['pthread'], }, 'os:freebsd': { + 'LIBPATH' : ['/usr/local/lib'], 'LIBS': ['execinfo', 'pthread'] }, 'os:win32': { --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
