Skip to content

Commit

Permalink
qmake: fix osx strip path
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 17, 2016
1 parent d04aad5 commit 035c3cf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 484,7 @@ defineTest(preparePaths) {
# TARGET = $$qtLongName($$TARGET)
EXE_EXT =
win32: EXE_EXT = .exe
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP): QMAKE_POST_LINK = -$$QMAKE_STRIP $$DESTDIR/$${TARGET}$${EXE_EXT} #.exe in win
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP):!mac_framework: QMAKE_POST_LINK = -$$QMAKE_STRIP $$DESTDIR/$${TARGET}$${EXE_EXT} #.exe in win
} else: DESTDIR = $$qtLongName($$BUILD_DIR/lib)
!build_pass {
message(target: $$DESTDIR/$$TARGET)
Expand Down
2 changes: 1 addition & 1 deletion examples/common/libcommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 118,7 @@ DEPENDPATH *= $$PROJECT_SRCPATH
!CONFIG(plugin) {
!isEqual(DESTDIR, $$BUILD_DIR/bin): DLLDESTDIR = $$BUILD_DIR/bin #copy shared lib there
}
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP): QMAKE_POST_LINK = -$$QMAKE_STRIP $$PROJECT_LIBDIR/$$qtSharedLib($$NAME)
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP):!mac_framework: QMAKE_POST_LINK = -$$QMAKE_STRIP $$PROJECT_LIBDIR/$$qtSharedLib($$NAME)
#copy from the pro creator creates.
symbian {
MMP_RULES = EXPORTUNFROZEN
Expand Down
2 changes: 1 addition & 1 deletion qml/libQmlAV.pri
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 114,7 @@ DEPENDPATH *= $$PROJECT_SRCPATH
!isEqual(DESTDIR, $$BUILD_DIR/bin): DLLDESTDIR = $$BUILD_DIR/bin #copy shared lib there
}
#QMAKE_POST_LINK =: just append as a string to previous QMAKE_POST_LINK
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP): QMAKE_POST_LINK = $$quote(-$$QMAKE_STRIP $$shell_path($$DESTDIR/$$qtSharedLib($$NAME)))
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP):!mac_framework: QMAKE_POST_LINK = $$quote(-$$QMAKE_STRIP $$shell_path($$DESTDIR/$$qtSharedLib($$NAME)))
#copy from the pro creator creates.
symbian {
MMP_RULES = EXPORTUNFROZEN
Expand Down
2 changes: 1 addition & 1 deletion src/libQtAV.pri
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 119,7 @@ DEPENDPATH *= $$PROJECT_SRCPATH
!CONFIG(plugin) {
!isEqual(DESTDIR, $$BUILD_DIR/bin): DLLDESTDIR = $$BUILD_DIR/bin #copy shared lib there
}
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP): QMAKE_POST_LINK = -$$QMAKE_STRIP $$PROJECT_LIBDIR/$$qtSharedLib($$NAME)
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP):!mac_framework: QMAKE_POST_LINK = -$$QMAKE_STRIP $$PROJECT_LIBDIR/$$qtSharedLib($$NAME)
#copy from the pro creator creates.
symbian {
MMP_RULES = EXPORTUNFROZEN
Expand Down
2 changes: 1 addition & 1 deletion widgets/libQtAVWidgets.pri
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 117,7 @@ DEPENDPATH *= $$PROJECT_SRCPATH
!CONFIG(plugin) {
!isEqual(DESTDIR, $$BUILD_DIR/bin): DLLDESTDIR = $$BUILD_DIR/bin #copy shared lib there
}
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP): QMAKE_POST_LINK = -$$QMAKE_STRIP $$PROJECT_LIBDIR/$$qtSharedLib($$NAME)
CONFIG(release, debug|release): !isEmpty(QMAKE_STRIP):!mac_framework: QMAKE_POST_LINK = -$$QMAKE_STRIP $$PROJECT_LIBDIR/$$qtSharedLib($$NAME)
#copy from the pro creator creates.
symbian {
MMP_RULES = EXPORTUNFROZEN
Expand Down

0 comments on commit 035c3cf

Please sign in to comment.