summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-04-23 17:13:19 -0700
committerAdam Joseph <adam@westernsemico.com>2023-08-20 21:41:19 -0700
commit1430b56362a4719e807568dc38c9b060b118f063 (patch)
tree1bfbdf093c0efd4bb1154fd4e083542f1b21d297 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentc9b4998cc9545fa9f968ec29a8a05350dc0e2ed4 (diff)
qt5.qtbase: fix cross compilation
This commit fixes builds of `pkgsCross.*.qt5.qtbase` by: - Adding the buildPlatform compiler to depsBuildBuild in qtbase.nix and qtModule.nix. The `qtbase` build machinery expects to find it in the $PATH in unprefixed form. - Setting the `PKG_CONFIG_SYSROOT_DIR` and `PKG_CONFIG_LIBDIR` environment variables when compiling a cross-targeted `qmake`. This is required; if these environment variables are unset, `qmake` won't even try to use `pkg-config`. - Adding the `-device` and `-device-option` flags necessary for cross compilation to `configureFlags`. - Adding the (one-entry at the moment) Rosetta Stone for QT-5 as a `let`-defined `qtPlatform` function which takes a nixpkgs platform and returns a QT-5 `mkspecs`-string. Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions