Fix a GHCi crash when trying to use constants backed by pseudo-variable macros.

By calling the shim procedures in 'unsafe' mode, and using the -fPIC option
to GCC, GHCi can figure out how to call those procedures in the same linker
context as libpython.so.
22 files changed
tree: a103dacc96008563a18e29aa61a0a69b61164ce1
  1. Setup.hs
  2. cbits/
  3. cpython.cabal
  4. lib/
  5. license.txt
  6. tests/