shared library text segment is not shareable

前端 未结 3 1434
伪装坚强ぢ
伪装坚强ぢ 2021-01-02 02:29

I am trying to add HW video acceleration to a cm10.2 port for my device. I get no errors but the one below, then make stops working, apparently without any erro

3条回答
  •  醉酒成梦
    2021-01-02 03:08

    Workaround for Android NDK r11:

    LOCAL_LDLIBS += -Wl,--no-warn-shared-textrel
    

    LOCAL_LDLIBS is applied later in the option chain than LOCAL_LDFLAGS, and consequently overrides the default.

提交回复
热议问题