Skip to content

Instantly share code, notes, and snippets.

diff --git a/Makefile b/Makefile
index 61853d8..53bb61d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ msgpack: deps/msgpack/dist/lib/libmsgpack.a
deps/msgpack/dist/lib/libmsgpack.a:
cd deps/msgpack && \
mkdir -p dist && \
- ./configure --enable-static --disable-shared \
+ ./configure CFLAGS="-fPIC" CXXFLAGS="-fPIC" \
var net = require('net');
var s = new net.Stream(0, 'unix');
s.resume();
s.addListener('fd', function(fd) {
http.createServer(function (req, res) {
sys.debug("Got request at " + process.pid);
res.writeHead(200, {"Content-Type": "text/plain"});
res.end("Hello from " + proces.pid);
--- a/wscript 2010-06-02 17:08:42.000000000 -0700
+++ b/wscript 2010-06-02 17:09:25.000000000 -0700
@@ -200,7 +200,7 @@
else:
mode = "debug"
- cmd_R = 'python "%s" -j %d -C "%s" -Y "%s" visibility=default mode=%s %s library=static snapshot=on'
+ cmd_R = 'python "%s" -j %d -C "%s" -Y "%s" visibility=default mode=%s %s library=static snapshot=on library d8'
cmd = cmd_R % ( scons