aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorRyan Volz <rvolz@mit.edu>2019-10-31 17:02:07 -0400
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-02-07 09:12:15 -0600
commit488a33cd9c6781816784f6d38527d16d3077e5ba (patch)
tree38c2555716381744be2b8b47e86493fde64b7ca4 /host/lib
parentec96cc37a245b1f1ddd8348d86ac9636b2f7228a (diff)
downloaduhd-488a33cd9c6781816784f6d38527d16d3077e5ba.tar.gz
uhd-488a33cd9c6781816784f6d38527d16d3077e5ba.tar.bz2
uhd-488a33cd9c6781816784f6d38527d16d3077e5ba.zip
python: Do not link against python lib for building an extension module.
This fixes a segmentation fault when trying to use the python module on OSX when built with conda (unsure why it doesn't arise otherwise). Instead of linking against the python library, it is proper to not link against the library and, for OSX builds, add linker options for "-undefined" and "dynamic_lookup". This is precisely what the CMake FindPython module does for linking against the Python::Module target. See https://blog.tim-smith.us/2015/09/python-extension-modules-os-x and https://bugs.python.org/issue36721
Diffstat (limited to 'host/lib')
0 files changed, 0 insertions, 0 deletions