iOS: Don't quote -force_load, it broke when generating Makefiles
Instead we pass the -force-load as a single argument to the linker, which is not mangled/touched by either the Xcode or Makefile generators. Change-Id: I72e17638f0a4a8308a352d4b2033c1b5a9b65b84 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
a12a67c820
commit
c002a27426
@ -18,7 +18,7 @@ gui_app {
|
||||
# linker have seen a use for so far. We need this because we load the platform
|
||||
# plugin from the platform plugin itself, using Q_IMPORT_PLUGIN.
|
||||
lib_path_and_base = $$[QT_INSTALL_PLUGINS/get]/platforms/libqios$$qtPlatformTargetSuffix()
|
||||
LIBS += "-force_load $${lib_path_and_base}.$${QMAKE_EXTENSION_STATICLIB}"
|
||||
LIBS += -Wl,-force_load,$${lib_path_and_base}.$${QMAKE_EXTENSION_STATICLIB}
|
||||
LIBS += $$fromfile($${lib_path_and_base}.prl, QMAKE_PRL_LIBS)
|
||||
|
||||
# Which means we don't want the auto-generated import for the platform plugin
|
||||
|
Loading…
Reference in New Issue
Block a user