jww
jww

Reputation: 102376

Android NDK and SYSROOT in Environment

I working with a library that is not SYSROOT aware. I've tried fiddling with some of its flags and scripts, but I have not had much luck. The library ignores the user's CFLAGS, and I don't read/write PERL well.

I've tried exporting SYSROOT, ANDROID_SYSROOT, and ANDROID_NDK_SYSROOT with no joy. I've also looked at some similar SO questions/answers, but they apply more to GCC and less to Android and the NDK.

Is there a way to set SYSROOT in the environment so I don't have to try and hack this library?

Upvotes: 0

Views: 1435

Answers (0)

Related Questions