diff options
Diffstat (limited to 'src/core/core_gyp_generator.pro')
-rw-r--r-- | src/core/core_gyp_generator.pro | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro index f03757a3a..1cfcc4609 100644 --- a/src/core/core_gyp_generator.pro +++ b/src/core/core_gyp_generator.pro @@ -79,15 +79,8 @@ HEADERS = \ web_event_factory.h \ yuv_video_node.h -# It's difficult to convince the gyp/ninja combination to install the -# output, so use qmake for that purpose. We need to use target.extra -# rather than target.files since qmake is not convinced this file will -# exist after the build completes. -# FIXME: Remove this once we get rid of libQt5WebEngineCore.so and fold -# the object files into libQt5WebEngine.so instead. -unix { - OUTPUT_DIR = $$getOutDir()/$$getConfigDir() - target.extra = $(INSTALL_FILE) $$OUTPUT_DIR/lib/lib$${TARGET}.so $$[QT_INSTALL_LIBS] - target.path = $$[QT_INSTALL_LIBS] - INSTALLS += target -} +OUTPUT_DIR = $$getOutDir()/$$getConfigDir() +target.files = $$OUTPUT_DIR/lib/lib$${TARGET}.so +target.CONFIG += no_check_exist # Trust us, qmake... +target.path = $$[QT_INSTALL_LIBS] +INSTALLS += target |