Catching a few quick things. First, usually you want to ignore all your intermediate build files and resulting binaries. Second, this should catch my case on Arch Linux where any notion of LSB is just not a thing. It should also prove more stable for building in future releases of Ubuntu as well.
Granted, pulling in static libraries like you are is probably not the best thing to do. You should consider switching to shared libraries or a build time switch.
Catching a few quick things. First, usually you want to ignore all your intermediate build files and resulting binaries. Second, this should catch my case on Arch Linux where any notion of LSB is just not a thing. It should also prove more stable for building in future releases of Ubuntu as well.
Granted, pulling in static libraries like you are is probably not the best thing to do. You should consider switching to shared libraries or a build time switch.