Currently libgpsimcli uses functions from readline
library but doesn't link against it, leaving to the
final binary to link against it. This not only is
problematic as the final binary has to know that, but
it also breaks when using --as-needed flag.
For an introduction to --as-needed usage and related
The attached patch fixes linking of libgpsimcli and
allows to link against it with --as-needed.
Diego "Flameeyes" Pettenò <email@example.com>