diff --git a/pythonforandroid/recipes/materialyoucolor/__init__.py b/pythonforandroid/recipes/materialyoucolor/__init__.py index 32d44a2714..abbc2d7b39 100644 --- a/pythonforandroid/recipes/materialyoucolor/__init__.py +++ b/pythonforandroid/recipes/materialyoucolor/__init__.py @@ -1,11 +1,15 @@ -from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe +from pythonforandroid.recipe import PyProjectRecipe -class MaterialyoucolorRecipe(CppCompiledComponentsPythonRecipe): +class MaterialyoucolorRecipe(PyProjectRecipe): stl_lib_name = "c++_shared" - version = "2.0.9" + version = "2.0.10" url = "https://github.com/T-Dynamos/materialyoucolor-python/releases/download/v{version}/materialyoucolor-{version}.tar.gz" - depends = ["setuptools"] + + def get_recipe_env(self, arch, **kwargs): + env = super().get_recipe_env(arch, **kwargs) + env['LDCXXSHARED'] = env['CXX'] + ' -shared' + return env recipe = MaterialyoucolorRecipe()