add support for ubuntu

This commit is contained in:
hgy 2017-07-09 18:50:07 +08:00
parent f339ad28bc
commit 41a3be1f66
1 changed files with 4 additions and 0 deletions

4
tools/fix-ubuntu-build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# replace c runtime object path for debian/ubuntu
sed -i "s/\/usr\/lib/\/usr\/lib\/i386-linux-gnu/" net/loveruby/cflat/sysdep/GNULinker.java