equal
deleted
inserted
replaced
14 # Force a copy of the library to have an extension that is non-standard. |
14 # Force a copy of the library to have an extension that is non-standard. |
15 # We want to test if we can load a shared library with *any* filename... |
15 # We want to test if we can load a shared library with *any* filename... |
16 |
16 |
17 !symbian { |
17 !symbian { |
18 win32 { |
18 win32 { |
19 src = $(DESTDIR_TARGET) |
19 # vcproj and Makefile generators refer to target differently |
|
20 contains(TEMPLATE,vc.*) { |
|
21 src = $(TargetPath) |
|
22 } else { |
|
23 src = $(DESTDIR_TARGET) |
|
24 } |
20 files = mylib.dl2 system.trolltech.test.mylib.dll |
25 files = mylib.dl2 system.trolltech.test.mylib.dll |
21 } else { |
26 } else { |
22 src = $(DESTDIR)$(TARGET) |
27 src = $(DESTDIR)$(TARGET) |
23 files = libmylib.so2 system.trolltech.test.mylib.so |
28 files = libmylib.so2 system.trolltech.test.mylib.so |
24 } |
29 } |
25 for(file, files) { |
30 for(file, files) { |
26 QMAKE_POST_LINK += $(COPY) $$src ..$$QMAKE_DIR_SEP$$file && |
31 QMAKE_POST_LINK += $$QMAKE_COPY $$src ..$$QMAKE_DIR_SEP$$file && |
27 CLEAN_FILES += ../$$file |
32 CLEAN_FILES += ../$$file |
28 } |
33 } |
29 QMAKE_POST_LINK = $$member(QMAKE_POST_LINK, 0, -2) |
34 QMAKE_POST_LINK = $$member(QMAKE_POST_LINK, 0, -2) |
30 } |
35 } |
31 |
36 |