I'm trying to create a recipe for kiwisolver. It fails because it is trying to link a dynamic library, and there are missing symbols for Python and all Python dependencies.
My understanding is that only a static library needs to be created, but it is unclear how to tell the system to do this. The recipe is using setuptools build_ext
To Reproduce
Recipe kiwisolver/__init__.py
from kivy_ios.toolchain import CythonRecipe, shprint
from os.path import join
import sh
import shutil
class KiwiSolverRecipe(CythonRecipe):
site_packages_name = 'kiwisolver'
version = '1.3.2'
url = 'https://github.com/nucleic/kiwi/archive/{version}.zip'
depends = ["python"]
hostpython_prerequisites = ["cppy",]
cythonize = False
recipe = KiwiSolverRecipe()
Expected behavior
The build would complete, and the static library would be installed.
It looks like this recipe should be able to build. For some reason the hostpython is trying to build the shared object, which requires all symbols to be present.
Versions
Describe the bug
I'm trying to create a recipe for kiwisolver. It fails because it is trying to link a dynamic library, and there are missing symbols for Python and all Python dependencies.
My understanding is that only a static library needs to be created, but it is unclear how to tell the system to do this. The recipe is using setuptools build_ext
To Reproduce Recipe
kiwisolver/__init__.py
Expected behavior
The build would complete, and the static library would be installed.
Logs
Screenshots
Additional context
It looks like this recipe should be able to build. For some reason the hostpython is trying to build the shared object, which requires all symbols to be present.