summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlibrary
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-30 19:09:34 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-30 19:28:31 (GMT)
commitb2bbdc8424c07bd958f1e96fdd332101f21d3881 (patch)
tree366b4ce10916527b6cd7b0f14b1f6b39af322322 /tests/auto/qlibrary
parenta812f864005cded35db2e51434d9c150a4d720d3 (diff)
downloadQt-b2bbdc8424c07bd958f1e96fdd332101f21d3881.zip
Qt-b2bbdc8424c07bd958f1e96fdd332101f21d3881.tar.gz
Qt-b2bbdc8424c07bd958f1e96fdd332101f21d3881.tar.bz2
fix for mingw+msys
Diffstat (limited to 'tests/auto/qlibrary')
-rw-r--r--tests/auto/qlibrary/lib/lib.pro14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/auto/qlibrary/lib/lib.pro b/tests/auto/qlibrary/lib/lib.pro
index 25a50b5..f8132ac 100644
--- a/tests/auto/qlibrary/lib/lib.pro
+++ b/tests/auto/qlibrary/lib/lib.pro
@@ -15,13 +15,17 @@ win32-borland: DEFINES += WIN32_BORLAND
# For windows test if we can load a filename with multiple dots.
win32: {
- QMAKE_POST_LINK = copy /Y $(DESTDIR_TARGET) ..\mylib.dl2 && \
- copy /Y $(DESTDIR_TARGET) ..\system.trolltech.test.mylib.dll && \
- copy /Y $(DESTDIR_TARGET) ..\mylib_noextension
+ cp = $(COPY) $(DESTDIR_TARGET) ..$$QMAKE_DIR_SEP
+ QMAKE_POST_LINK = \
+ $${cp}mylib.dl2 && \
+ $${cp}system.trolltech.test.mylib.dll && \
+ $${cp}mylib_noextension
}
unix:!symbian: {
- QMAKE_POST_LINK = cp -f $(DESTDIR)$(TARGET) ../libmylib.so2 && \
- cp -f $(DESTDIR)$(TARGET) ../system.trolltech.test.mylib.so
+ cp = $(COPY) $(DESTDIR)$(TARGET) ../
+ QMAKE_POST_LINK = \
+ $${cp}libmylib.so2 && \
+ $${cp}system.trolltech.test.mylib.so
}
#no special install rule for the library used by test