Skip to content

Commit

Permalink
mac: remove prl files in installed framework
Browse files Browse the repository at this point in the history
to prevent linking to ffmpeg libs when linking app
  • Loading branch information
wang-bin committed Feb 14, 2017
1 parent d09b007 commit aaf557a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/install_sdk/install_sdk.pro
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ 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($$RM $$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*.$$LIBSUFFIX*) $$system_path($$[QT_INSTALL_LIBS]/))
Expand Down

0 comments on commit aaf557a

Please sign in to comment.