8000 Bump libpq version (#2245) · ahmedezzat85/python-for-android@96edcd6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 96edcd6

Browse files
Rene LeveilleRene Leveille
andauthored
Bump libpq version (kivy#2245)
* bump libpq version * Fix libpq env for cross compile Co-authored-by: Rene Leveille <rene@nestingsafe.com>
1 parent 61be5d4 commit 96edcd6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pythonforandroid/recipes/libpq/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55

66
class LibpqRecipe(Recipe):
7-
version = '9.5.3'
7+
version = '10.12'
88
url = 'http://ftp.postgresql.org/pub/source/v{version}/postgresql-{version}.tar.bz2'
99
depends = []
1010

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+
1117
def should_build(self, arch):
1218
return not os.path.isfile('{}/libpq.a'.format(self.ctx.get_libs_dir(arch.arch)))
1319

0 commit comments

Comments
 (0)
0