Open ImagineYao opened 1 year ago
I need to use a so lib which has an arm64-v8a arh and an armabi-v7a arch, but when i use CGO_LDFLAGS, I can only get an aar with one arh.
CGO_LDFLAGS="-L$(LIBS_DIR)/arm64" \ gomobile bind -ldflags "-s -w" -v -target=android/arm64
The so lib is $(LIBS_DIR)/arm64 for arm64-v8a and $(LIBS_DIR)/arm for armabi-v7a
$(LIBS_DIR)/arm64
$(LIBS_DIR)/arm
how can I build an aar with both arm64-v8a and armabi-v7a arch?
CC @hyangah via https://dev.golang.org/owners
I need to use a so lib which has an arm64-v8a arh and an armabi-v7a arch, but when i use CGO_LDFLAGS, I can only get an aar with one arh.
The so lib is
$(LIBS_DIR)/arm64
for arm64-v8a and$(LIBS_DIR)/arm
for armabi-v7ahow can I build an aar with both arm64-v8a and armabi-v7a arch?