Fixing up Stoneshard dynamic link issues

Stoneshard is a turn-based RPG with nice 2D pixel art and an elaborate role-playing system. Unfortunately, the Linux support is a bit messy and if you happen to play it on Ubuntu 20.04, it will tell you it cannot find Common advice is to symlink however that is neither a good idea nor even necessary because the game does not even depend on it. Hence, the cleaner way is just to patch the game binary, for example using patchelf:

$ git clone && cd patchelf
$ ./ && ./configure && make && sudo make install
$ patchelf --remove-needed <path-to-stoneshard>/game/StoneShard
$ patchelf --remove-needed <path-to-stoneshard>/game/StoneShard

With that done, you can run the game just fine. I still wonder what the crappy build system of that game is doing though …