Do not create a symlink if already exists.
--HG-- branch : develop
This commit is contained in:
@ -84,7 +84,9 @@ defineTest(copyToDestdir) {
|
||||
|
||||
for(FILE, files) {
|
||||
unix{
|
||||
QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) & $$escape_expand(\\n\\t)
|
||||
!exists($$DDIR/$$basename(FILE)) {
|
||||
QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) & $$escape_expand(\\n\\t)
|
||||
}
|
||||
} else {
|
||||
!exists($$DDIR/$$basename(FILE)) {
|
||||
# Replace slashes in paths with backslashes for Windows
|
||||
|
Reference in New Issue
Block a user