joyent/node — pull request #3499 by joelrbrandt (2012-06-20 23:09:41+00:00)
Title: Allow building node as a library

Node currently builds great as a shared or static library (for embedding in other applications).

However, the build scripts don't make this easy.

This change adds an optional ```--output-type``` command line option to configure to allow specifying a static or shared library build. It also fixes up vcbuild to allow setting output type on Windows.