#/bin/bash -eu

cp -r bin $PREFIX
cp -r include $PREFIX
cp -r jre $PREFIX
cp -r lib $PREFIX

#/bin/bash -eu

if [[ `uname` == "Linux" ]]
then
    mv lib/amd64/jli/*.so lib
    mv lib/amd64/*.so lib
    rm -r lib/amd64
fi

cp -r bin $PREFIX
cp -r include $PREFIX
cp -r jre $PREFIX
cp -r lib $PREFIX

Move *.so from lib/amd64 to lib.
Move *.so from lib/amd64 to lib.
