浏览代码

mklib: Ensure target directory exists for library

Instead of relying on the Makefile to always generate $(TOP)/$(LIB_DIR),
just have mklib handle creating the directory. This should fix any races
when using parallel make.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit 23671e5358)
tags/mesa_7_5_1
Dan Nicholson 17 年前
父节点
当前提交
9185a61c8a
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1
    0
      bin/mklib

+ 1
- 0
bin/mklib 查看文件

@@ -971,5 +971,6 @@ esac
#
if [ ${INSTALLDIR} != "." ] ; then
echo "mklib: Installing" ${FINAL_LIBS} "in" ${INSTALLDIR}
test -d ${INSTALLDIR} || mkdir -p ${INSTALLDIR}
mv ${FINAL_LIBS} ${INSTALLDIR}/
fi

正在加载...
取消
保存