Skip to content

Commit 0ab8788

Browse files
committed
Cmake changes for -llog and -latomic II
1 parent c7ea92a commit 0ab8788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function(_add_variant_link_flags)
362362
"-ldl" "-llog" "-latomic"
363363
"${SWIFT_ANDROID_NDK_PATH}/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++_shared.so")
364364
list(APPEND library_search_directories
365-
"${SWIFT_ANDROID_NDK_PATH}/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib/armv7-a"
365+
"${SWIFT_ANDROID_PREBUILT_PATH}/arm-linux-androideabi/lib/armv7-a"
366366
"${SWIFT_ANDROID_PREBUILT_PATH}/lib/gcc/arm-linux-androideabi/${SWIFT_ANDROID_NDK_GCC_VERSION}.x")
367367
else()
368368
# If lto is enabled, we need to add the object path flag so that the LTO code

0 commit comments

Comments
 (0)