diff options
author | axis <qt-info@nokia.com> | 2010-08-02 14:20:57 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-08-03 07:31:54 (GMT) |
commit | d18e3ec7e4e63e2612af18796dd6a3171df6fdca (patch) | |
tree | 60bbbf148c757d27f35c44e9523a28dca3955bb4 | |
parent | ca3c76a567602533ccdd2f7700ec915f675e6bef (diff) | |
download | Qt-d18e3ec7e4e63e2612af18796dd6a3171df6fdca.zip Qt-d18e3ec7e4e63e2612af18796dd6a3171df6fdca.tar.gz Qt-d18e3ec7e4e63e2612af18796dd6a3171df6fdca.tar.bz2 |
Switched from using hardlinks to copies in Symbian building.
The problem with hardlinks is that things start to behave funny when
you build several times, because on the next compile, the target from
armlink is moved to the .sym file location, and in this case it will
be hardlinked too. In the end you have all three files (bare, .exe
and .sym) being hardlinked together, when the .sym should be an ELF
file and the other two should be an E32 image.
RevBy: Trust me
-rw-r--r-- | mkspecs/features/symbian/symbian_building.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf index c119c90..374fe21 100644 --- a/mkspecs/features/symbian/symbian_building.prf +++ b/mkspecs/features/symbian/symbian_building.prf @@ -186,7 +186,7 @@ contains(TEMPLATE, app):!contains(QMAKE_LINK, "^@:.*") { $$elf2e32_LIBPATH \ $$capability \ $$QMAKE_ELF2E32_FLAGS \ - && ln "$${symbianDestdir}/$${baseTarget}.exe" "$${symbianDestdir}/$${baseTarget}" \ + && $$QMAKE_COPY "$${symbianDestdir}/$${baseTarget}.exe" "$${symbianDestdir}/$${baseTarget}" \ $$QMAKE_POST_LINK silent:QMAKE_POST_LINK = @echo postlinking $@ && $$QMAKE_POST_LINK QMAKE_DISTCLEAN += $${symbianDestdir}/$${baseTarget}.sym |