mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
3e3e3918f2
QtWebEngine's build system is setup to perform certain platform checks (see mkspecs/features/platform.prf). But a failed check will not cause configuration phase to fail, but instead it configures no build targets. So in such case the build will successfully perform build and install phases. An empty output directories will are produced and the build succeeds. This patches qtwebengine qmake files to properly fail during configuration phase. This doesn't touch qt56 as it doesn't have this mechanism.
13 lines
297 B
Diff
13 lines
297 B
Diff
diff --git a/qtwebengine.pro b/qtwebengine.pro
|
|
--- a/qtwebengine.pro
|
|
+++ b/qtwebengine.pro
|
|
@@ -5,7 +5,7 @@ runConfigure()
|
|
|
|
!isEmpty(skipBuildReason) {
|
|
SUBDIRS =
|
|
- log($${skipBuildReason}$${EOL})
|
|
+ error($${skipBuildReason}$${EOL})
|
|
log(QtWebEngine will not be built.$${EOL})
|
|
}
|
|
|