Skip to content

Commit cb95eea

Browse files
committed
zlib: keep Android CPU feature wrapper
Signed-off-by: luoqianlin <qianlinluo@foxmail.com>
1 parent 6c03990 commit cb95eea

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎deps/zlib/android-cpu-features.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Build the Android NDK CPU feature implementation as part of zlib.
2+
#include <cpu-features.c>

‎deps/zlib/zlib.gyp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
}],
204204
['OS=="android"', {
205205
'sources': [
206-
'<(android_ndk_path)/sources/android/cpufeatures/cpu-features.c',
206+
'<(ZLIB_ROOT)/android-cpu-features.c',
207207
],
208208
}],
209209
# Incorporate optimizations where possible.

0 commit comments

Comments
 (0)