loot / libloot-python

A Python module that wraps libloot.
GNU General Public License v3.0
6 stars 1 forks source link

Try building and linking the LOOT API as a static library with static runtime linking #7

Closed Ortham closed 7 years ago

Ortham commented 7 years ago

Suggested in wrye-bash/CBash#7, this would solve linking problems with standalone Wrye Bash executables and also simplify its usage of the LOOT API.

Ortham commented 7 years ago

Well, this seems to be working on Windows, but needs LOOT and some of its dependencies to be compiled with the -fPIC flag for it to link on Linux, and then still fails with ImportError: ./loot_api.so: undefined symbol: curl_easy_perform. Libcurl is used by libgit2, which is a dependency of the LOOT API.

Ortham commented 7 years ago

Closing this as it's not suitable for Wrye Bash's standalone builds, and Wrye Bash was the intended use-case.