8000 `ctx.ndk_dir` was not being correctly set for C++ environment. · tangingw/python-for-android@315fa8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 315fa8d

Browse files
committed
ctx.ndk_dir was not being correctly set for C++ environment.
1 parent 0fcf195 commit 315fa8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/recipe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,11 +924,11 @@ def get_recipe_env(self, arch):
924924
env['CFLAGS'] += (
925925
" -I{ctx.ndk_dir}/platforms/android-{ctx.android_api}/arch-{arch_noeabi}/usr/include" +
926926
" -I{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/include" +
927-
" -I{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}/include".format(**keys))
927+
" -I{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}/include").format(**keys)
928928
env['CXXFLAGS'] = env['CFLAGS'] + ' -frtti -fexceptions'
929929
env['LDFLAGS'] += (
930930
" -L{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}" +
931-
" -lgnustl_shared".format(**keys))
931+
" -lgnustl_shared").format(**keys)
932932

933933
return env
934934

0 commit comments

Comments
 (0)
0