We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61be5d4 commit 96edcd6Copy full SHA for 96edcd6
pythonforandroid/recipes/libpq/__init__.py
@@ -4,10 +4,16 @@
4
5
6
class LibpqRecipe(Recipe):
7
- version = '9.5.3'
+ version = '10.12'
8
url = 'http://ftp.postgresql.org/pub/source/v{version}/postgresql-{version}.tar.bz2'
9
depends = []
10
11
+ def get_recipe_env(self, arch):
12
+ env = super().get_recipe_env(arch)
13
+ env['USE_DEV_URANDOM'] = '1'
14
+
15
+ return env
16
17
def should_build(self, arch):
18
return not os.path.isfile('{}/libpq.a'.format(self.ctx.get_libs_dir(arch.arch)))
19
0 commit comments