2b98d4fa55
This is to handle the case where CFG_LIBDIR is not a direct child of CFG_PREFIX (in other words, where CFG_LIBDIR_RELATIVE has more than one component).