jubatus/jubatus — pull request #91 by kmaehashi (2012-08-15 05:07:14+00:00)
Title: Make waf accept GNU-compatible options

The correct path to install shared libraries is different among platforms (`lib`, `lib32`, `lib64`, etc.)
However, as waf cannot specify the library directory, all `libjuba*.so` goes to ${PREFIX}/lib on every platform.

This patch fixes the problem by loading gnu_dirs tool in wscript, so that users can manually specify the library installation path like `--libdir=${PREFIX}/lib64`.

http://waf.googlecode.com/svn/docs/apidocs/tools/gnu_dirs.html

This makes packaging much, much easier :)