mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Adding a workaround for read-only Enum.java during build
This commit is contained in:
parent
4184c8313a
commit
a2ff617f1e
4
makefile
4
makefile
@ -1593,6 +1593,10 @@ $(build)/android.dep: $(luni-javas) $(libdvm-javas) $(crypto-javas) \
|
||||
@mkdir -p $(build)/android-src/libexpat
|
||||
cp $(android)/external/fdlibm/fdlibm.h $(build)/android-src/external/fdlibm/
|
||||
cp $(android)/external/expat/lib/expat*.h $(build)/android-src/libexpat/
|
||||
if [ -a $(build)/android-src/java/lang/Enum.java ] ; \
|
||||
then \
|
||||
chmod +w $(build)/android-src/java/lang/Enum.java ; \
|
||||
fi;
|
||||
cp -a $(luni-java)/* $(libdvm-java)/* $(crypto-java)/* $(dalvik-java)/* \
|
||||
$(xml-java)/* $(build)/android-src/
|
||||
sed -i -e 's/return ordinal - o.ordinal;/return ordinal - o.ordinal();/' \
|
||||
|
Loading…
Reference in New Issue
Block a user