Skip to content

Commit

Permalink
deploy: do not install prl
Browse files Browse the repository at this point in the history
to avoid additional link flags
  • Loading branch information
wang-bin committed Jun 18, 2015
1 parent 7bc0c26 commit 7bf5147
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/install_sdk/install_sdk.pro
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 78,13 @@ greaterThan(QT_MAJOR_VERSION, 4) {
# copy files to a dir need '/' at the end
mac_framework {
sdk_install.commands = $$quote($$COPY_DIR $$system_path($$PROJECT_LIBDIR/$${MODULE_FULL_NAME}.framework) $$system_path($$[QT_INSTALL_LIBS]))
sdk_install.commands = $$quote($$QMAKE_DEL_FILE $$system_path($$[QT_INSTALL_LIBS]/$${MODULE_FULL_NAME}.framework/*.prl))
} else {
sdk_install.commands = $$quote($$MKDIR $$system_path($$[QT_INSTALL_HEADERS]/$${MODULE_FULL_NAME}/))
sdk_install.commands = $$quote($$COPY $$system_path($$PROJECT_LIBDIR/*Qt*AV*) $$system_path($$[QT_INSTALL_LIBS]/))
sdk_install.commands = $$quote($$COPY $$system_path($$PROJECT_LIBDIR/$$ORIG_LIB) $$system_path($$[QT_INSTALL_LIBS]/$$NEW_LIB))
sdk_install.commands = $$quote($$COPY $$system_path($$PROJECT_LIBDIR/$$ORIG_LIB_D) $$system_path($$[QT_INSTALL_LIBS]/$$NEW_LIB_D))
sdk_install.commands = $$quote($$QMAKE_DEL_FILE $$system_path($$[QT_INSTALL_LIBS]/*Qt*AV*.prl))
}
sdk_install.commands = $$quote($$COPY $$system_path($$MODULE_PRF_FILE) $$system_path($$MKSPECS_DIR/features/$${MODULE}.prf))
greaterThan(QT_MAJOR_VERSION, 4) {
Expand Down

0 comments on commit 7bf5147

Please sign in to comment.