Merge pull request #35349 from matthewbauer/qt5-darwin-pkgconfig
qt5: install pkg_config files on darwin
This commit is contained in:
commit
b4cf3f7909
@ -37,7 +37,9 @@ let
|
|||||||
srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
|
srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
|
||||||
|
|
||||||
patches = {
|
patches = {
|
||||||
qtbase = [ ./qtbase.patch ] ++ optional stdenv.isDarwin ./qtbase-darwin.patch;
|
qtbase = [ ./qtbase.patch ] ++
|
||||||
|
optionals stdenv.isDarwin [ ./qtbase-darwin.patch
|
||||||
|
./restore-pc-files.patch ];
|
||||||
qtdeclarative = [ ./qtdeclarative.patch ];
|
qtdeclarative = [ ./qtdeclarative.patch ];
|
||||||
qtscript = [ ./qtscript.patch ];
|
qtscript = [ ./qtscript.patch ];
|
||||||
qtserialport = [ ./qtserialport.patch ];
|
qtserialport = [ ./qtserialport.patch ];
|
||||||
|
15
pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch
Normal file
15
pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Partially reverts <https://codereview.qt-project.org/#/c/140954/>.
|
||||||
|
|
||||||
|
diff --git i/mkspecs/features/qt_module.prf w/mkspecs/features/qt_module.prf
|
||||||
|
index bb28af97..36bb6483 100644
|
||||||
|
--- i/mkspecs/features/qt_module.prf
|
||||||
|
+++ w/mkspecs/features/qt_module.prf
|
||||||
|
@@ -245,7 +245,7 @@ load(qt_installs)
|
||||||
|
load(qt_targets)
|
||||||
|
|
||||||
|
# this builds on top of qt_common
|
||||||
|
-!internal_module:!lib_bundle:if(unix|mingw) {
|
||||||
|
+!internal_module:if(unix|mingw) {
|
||||||
|
CONFIG += create_pc
|
||||||
|
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
||||||
|
host_build: \
|
Loading…
x
Reference in New Issue
Block a user