Since openocd depends on hidapi it needs appropriate LD_FLAGS to link
against it as that library depends on libiconv.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
OpenOCD autoselects libftdi1 when it's present, and should explicitly
depend on it, same about libusb-0.1 API which is provided by
libusb-compat.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>