mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
sdk: don't append the first line to qt.conf
Since commit 212ae9b ("Use bindir for tools on Windows SDK) qt.conf is
now created in the WORKDIR and is still present when rebuilding the SDK.
Since all lines are appended to the file it will continuesly increase.
So write the first line to the file instead of appending it.
Pick-to: 6.2
Change-Id: I52d4cb91630884a1ecdc1e6b225fda4cf39d852b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This commit is contained in:
parent
002b2ce29f
commit
6b7208cedd
|
|
@ -12,8 +12,7 @@ QT6_INSTALL_HOST_LIBEXECDIR:sdkmingw32 = "${QT6_INSTALL_LIBEXECDIR:mingw32}"
|
|||
create_qt6_sdk_files () {
|
||||
# Generate a qt.conf file to be deployed with the SDK
|
||||
qtconf=${WORKDIR}/qt.conf
|
||||
touch $qtconf
|
||||
echo '[Paths]' >> $qtconf
|
||||
echo '[Paths]' > $qtconf
|
||||
echo 'Prefix = ${prefix}' >> $qtconf
|
||||
echo 'Headers = ${QT6_INSTALL_INCLUDEDIR}' >> $qtconf
|
||||
echo 'Libraries = ${QT6_INSTALL_LIBDIR}' >> $qtconf
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user