don't make qconfig.h read-only
not much point in it, really. Change-Id: If984aa137993ae6b95cb3591fceac729ae3aa819 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
7ae6e48d57
commit
49bee21d57
4
configure
vendored
4
configure
vendored
@ -6421,9 +6421,7 @@ echo "#define QT_QPA_DEFAULT_PLATFORM_NAME \"$QT_QPA_DEFAULT_PLATFORM\"" >>"$out
|
|||||||
if cmp -s "$outpath/src/corelib/global/qconfig.h" "$outpath/src/corelib/global/qconfig.h.new"; then
|
if cmp -s "$outpath/src/corelib/global/qconfig.h" "$outpath/src/corelib/global/qconfig.h.new"; then
|
||||||
rm -f "$outpath/src/corelib/global/qconfig.h.new"
|
rm -f "$outpath/src/corelib/global/qconfig.h.new"
|
||||||
else
|
else
|
||||||
[ -f "$outpath/src/corelib/global/qconfig.h" ] && chmod +w "$outpath/src/corelib/global/qconfig.h"
|
mv -f "$outpath/src/corelib/global/qconfig.h.new" "$outpath/src/corelib/global/qconfig.h"
|
||||||
mv "$outpath/src/corelib/global/qconfig.h.new" "$outpath/src/corelib/global/qconfig.h"
|
|
||||||
chmod -w "$outpath/src/corelib/global/qconfig.h"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create a forwarding header
|
# create a forwarding header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user