Use -undefined dynamic_lookup when using Python and building on Mac OS X
Building GrOsmoSDR on Mac OS X should use the
-undefined dynamic_lookup as value for the Python library instead of the
-framework /path/to/python/framework to ensure Python gets linked dynamically without having all symbols resolved at link time.
More information: http://blog.tim-smith.us/2015/09/python-extension-modules-os-x/
Set the PYTHON_LIBRARY variable to
-undefined dynamic_lookup when running CMake.
I've attached a patch which I'm already using for the package in Homebrew. Unfortunately this patch does not work with the latest version of CMake (3.5.0) therefore I'm using it in conjunction with an older version of CMake (3.3.2).
Operating system: Mac OS 10.11.4