mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
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>
This commit is contained in:
parent
048f988aeb
commit
23671e5358
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue