Shiboken uses CMake and needs the same help as OpenCV and VTK in
finding the Python Libraries and Headers.
Add code to find them. Tested on Lion with clang and llvm from
XCode-4.3.3 using System Python, Homebrew Framework and loose
Python.
FixesHomebrew/homebrew#13563
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade shiboken to version 1.1.1.
Remove the unneeded deps on generatorrunner and apiextractor.
Switch to an out of tree build with `mkdir 'macbuild' do` because
it will not compile otherwise when it tries to overwrite a
directory named `shiboken` with a binary named `shiboken`.
This results in an `error=21` which is defined in
`/usr/include/sys/errno.h` as `EISDIR`, is a directory.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested by building pyside-1.1.1 with shiboken-1.1.1.
ClosesHomebrew/homebrew#13330.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an
integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it
returned a string.
Now, the function always returns an integer.
FixesHomebrew/homebrew#12033.