We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dddecaa + 638f2e2 commit de12410Copy full SHA for de12410
pythonforandroid/recipes/moderngl/__init__.py
@@ -0,0 +1,17 @@
1
+from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
2
+
3
4
+class ModernGLRecipe(CppCompiledComponentsPythonRecipe):
5
+ version = '5.10.0'
6
+ url = 'https://github.com/moderngl/moderngl/archive/refs/tags/{version}.tar.gz'
7
8
+ site_packages_name = 'moderngl'
9
+ name = 'moderngl'
10
11
+ def get_recipe_env(self, arch):
12
+ env = super().get_recipe_env(arch)
13
+ env['LDFLAGS'] += ' -lstdc++'
14
+ return env
15
16
17
+recipe = ModernGLRecipe()
0 commit comments