From b2bbdc8424c07bd958f1e96fdd332101f21d3881 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 30 Nov 2009 20:09:34 +0100 Subject: fix for mingw+msys --- tests/auto/qlibrary/lib/lib.pro | 14 +++++++++----- 1 file 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 -- cgit v0.12