The libnvme.wrap is using a git URL for libnvme thus it doesn't depend
on libcurl, libarchive or libpkgconf. The wrap implementation is calling
git directly to download the library. Thus we can drop these dependency
which makes it possible to build it on older distributions such as
CentOS 7 and 8.
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
[dwagner: updated commit message]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
CC="${CC}" ninja="${SAMU}" stage1/muon setup \
-Dprefix="${TOOLDIR}" \
- -Dlibcurl=enabled \
- -Dlibarchive=enabled \
- -Dlibpkgconf=enabled \
-Ddocs=disabled \
-Dsamurai=disabled \
"${TOOLDIR}/build-muon"
}
config_muon_default() {
+ # wrap_mode=forcefallback depends on git being available
+
CC="${CC}" CFLAGS="${CFLAGS}" ninja="${SAMU}" \
"${MUON}" setup \
-Ddefault_library=static \