File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ cfg_build_fat_library=no
40
40
41
41
# whether use mthumb instruction or not
42
42
# format cfg_${libname}_${archname}_use_mthumb
43
- cfg_curl_arm_use_mthumb =no
43
+ cfg_curl_arm_use_mthumb =no # for compile issue
44
44
45
45
# debug and release mode flag
46
46
cfg_build_release_mode =" -O3 -DNDEBUG "
Original file line number Diff line number Diff line change @@ -15,7 +15,14 @@ webp: libwebp-$(WEBP_VERSION).tar.gz .sum-webp
15
15
$(MOVE )
16
16
17
17
.webp : webp
18
+ ifdef HAVE_ANDROID
19
+ cd $< && echo "APP_ABI:=$(MY_TARGET_ARCH)" >> Application.mk
20
+ cd $< && ln -s $(shell pwd)/webp $(shell pwd)/webp/jni
21
+ cd $< && ndk-build
22
+ cd $< && cp obj/local/$(MY_TARGET_ARCH)/libwebp.a $(PREFIX)/lib/
23
+ else
18
24
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
19
25
cd $< && $(MAKE)
20
26
cd $< && $(MAKE) install
27
+ endif
21
28
touch $@
You can’t perform that action at this time.
0 commit comments