mirror of https://github.com/ceph/ceph
win32*.sh: fetch WNBD dependency
Due to a rebase mistake, we're no longer fetching WNBD, which is required by rbd-wnbd. This commit will take care of cloning WNBD and generating an import library. Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
This commit is contained in:
parent
a07251753a
commit
775e89fb3a
|
@ -380,4 +380,16 @@ EOF
|
|||
$MINGW_DLLTOOL -d $winLibDir/mswsock.def \
|
||||
-l $winLibDir/libmswsock.a
|
||||
|
||||
cd $depsSrcDir
|
||||
if [[ ! -d $wnbdSrcDir ]]; then
|
||||
git clone $wnbdUrl
|
||||
cd $wnbdSrcDir && git checkout $wnbdTag
|
||||
fi
|
||||
cd $wnbdSrcDir
|
||||
mkdir -p $wnbdLibDir
|
||||
$MINGW_DLLTOOL -d $wnbdSrcDir/libwnbd/libwnbd.def \
|
||||
-D libwnbd.dll \
|
||||
-l $wnbdLibDir/libwnbd.a
|
||||
|
||||
|
||||
touch $depsToolsetDir/completed
|
||||
|
|
Loading…
Reference in New Issue