mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -04:00
minor fixes to compilation
This commit is contained in:
parent
637c65bc8b
commit
8be2a446ac
@ -184,11 +184,14 @@ for arch in ARCHS:
|
|||||||
# change the PATH for compilation to use proper tools
|
# change the PATH for compilation to use proper tools
|
||||||
new_environ = {'PATH': ('%(platform)s/bin:%(platform)s/%(arch_full)s'
|
new_environ = {'PATH': ('%(platform)s/bin:%(platform)s/%(arch_full)s'
|
||||||
'/bin:%(platform)s/libexec/gcc/%(arch_full)s/'
|
'/bin:%(platform)s/libexec/gcc/%(arch_full)s/'
|
||||||
'%(gccver)s/:%(orig)s'
|
'%(gccver)s/:%(sdka)s:%(sdkb)s/%(orig)s'
|
||||||
% {'platform': platform,
|
% {'platform': platform,
|
||||||
'orig': ORIGINAL_ENVIRON['PATH'],
|
'orig': ORIGINAL_ENVIRON['PATH'],
|
||||||
'arch_full': arch_full,
|
'arch_full': arch_full,
|
||||||
'gccver': COMPILER_VERSION}),
|
'gccver': COMPILER_VERSION,
|
||||||
|
'sdka': os.path.join(SDK_PATH,
|
||||||
|
'platform-tools'),
|
||||||
|
'sdkb': os.path.join(SDK_PATH, 'tools')}),
|
||||||
'CFLAGS': ' -fPIC ',
|
'CFLAGS': ' -fPIC ',
|
||||||
'ANDROID_HOME': SDK_PATH}
|
'ANDROID_HOME': SDK_PATH}
|
||||||
change_env(new_environ)
|
change_env(new_environ)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user