Fixing issue with libgdbm.so(.6) linking.
Requested in https://github.com/termux/termux-packages/issues/6207.