Skip to content

Commit ac30f87

Browse files
committed
as OpenSSL code said, -latomic is required for newer NDK (Ref: https://github.com/openssl/openssl/blob/master/Configurations/15-android.conf#L194)
1 parent 7df3a43 commit ac30f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/openssl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def build_arch(self, arch):
110110
# ^
111111
# crypto/aes/bsaes-armv7.S:1434:14: error: immediate operand must be in the range [0,4095]
112112
# sub r6, r8, #.LREVM0SR-.LSR @ pass constants
113-
shprint(perl, 'Configure', 'shared', 'no-dso', 'no-asm', buildarch,
113+
shprint(perl, 'Configure', 'shared', 'no-dso', 'no-asm', '-latomic', buildarch,
114114
'-D__ANDROID_API__={}'.format(self.ctx.ndk_api),
115115
_env=env)
116116
self.apply_patch('disable-sover.patch', arch.arch)

0 commit comments

Comments
 (0)