jmendeth/PyOpenNI — pull request #8 by aostanin (2012-02-16 09:45:53+00:00)
Title: Fix Build issues on OS X

This fixes the build issues on OS X as per this [bug report](https://github.com/jmendeth/PyOpenNI/issues/6).

This fixes two specific problems:

* The compiler flags provided by `compilerFlags.py` don't work on OS X. The specific error is in the bug report from above and I believe that it may be related to trying to build a universal library but OpenNI is 64 bit only causing lipo to fail, but I'm not sure about the cause to be honest.
* Same bug as this [bug report](http://bugs.python.org/issue10910).

Also, cmake creates libraries that end with `.dylib` by default on OS X, but Python modules use `.so` as their extension. This problem is also fixed.

While I don't think this is a good permanent solution, I'm not familiar enough with Python modules and cmake to do any better. At least now it compiles and is perfectly usable on OS X :)