New comment by ologantr on void-packages repository https://github.com/void-linux/void-packages/pull/35796#issuecomment-1059827392 Comment: > If that is what you want :) As a sidenote: In my tests fossil seems to need both `--disable-internal-sqlite` and -`-with-sqlite="${XBPS_CROSS_BASE}/usr/include/"` in order to use the system sqlite. I may be mistaken, but check it out. Yes, you're right: without --with-sqlite, configure falls back to the fossil-provided one even if --disable-internal-sqlite was used. I've updated fossil and added this switch. I've just noticed that common/shlib entry for sqlite is lagging behind: I'm going to bump it while here.