Prevent ndk-build from automatically cleaning module

前端 未结 1 1408
一个人的身影
一个人的身影 2021-01-12 22:10

On my current setup (ndk r8c) ndk-build performs a clean step (V=1 shows rm in action) without issuing clean explicitly.

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 22:53

    I suppose you are fasing a bug of NDK r8c. See this thread: http://code.google.com/p/android/issues/detail?id=39810. You can downgrade to a previous NDK release or apply the suggested patch.

    The patch is to change a single line 289 in build/core/definitions.mk from

    $1: $$(__ndk_file_dir)
    

    to

    $1: | $$(__ndk_file_dir)
    

    0 讨论(0)
提交回复
热议问题