aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-07-22 21:06:32 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-07-24 19:52:12 +0000
commitf32d0f724ff2010bfb69f8b1772a62b5a2141823 (patch)
tree2e3179f90f4d3eee6e03e6cf2a205657d39d7836 /tools/qmlplugindump
parent1943ef3b06d3f95a4e6c4d24f771cee8db02d342 (diff)
Fix build on macOS with ICC: -sectcreate is a linker option
Apparently Clang understands it and passes to the linker. ICC doesn't, so we have to use the -Wl option. Change-Id: Ibad13c8c3c8d7596aca965c4f6e96c1e82b3cef5 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r--tools/qmlplugindump/qmlplugindump.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro
index e45a7fad83..b38eea2554 100644
--- a/tools/qmlplugindump/qmlplugindump.pro
+++ b/tools/qmlplugindump/qmlplugindump.pro
@@ -17,7 +17,7 @@ macx {
# Prevent qmlplugindump from popping up in the dock when launched.
# We embed the Info.plist file, so the application doesn't need to
# be a bundle.
- QMAKE_LFLAGS += -sectcreate __TEXT __info_plist $$shell_quote($$PWD/Info.plist)
+ QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote($$PWD/Info.plist)
CONFIG -= app_bundle
}