taka-no-me / android-cmake

CMake toolchain file and other scripts for the Android NDK
1.22k stars 438 forks source link

Do not clear linker flag. #85

Open ernestmc opened 8 years ago

ernestmc commented 8 years ago

Not clearing the ANDROID_LINKER_FLAG lets you pass initial values from the command line.

Use case: We are using the script to crosscompile a collection of libraries which are not designed for Android and we need an easy way to add the android libraries (for logging, etc) to the link process. https://github.com/ernestmc/roscpp_android/commit/114800b632e05161d266c5216527ba7f7077af3f