Update pkgs/development/libraries/qt-5/modules/qtbase.nix

Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>
This commit is contained in:
Adam Joseph 2023-08-21 20:34:53 +00:00 committed by GitHub
parent f81e02d9a7
commit ba1dcb2e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ stdenv.mkDerivation (finalAttrs: {
# QT's configure script will refuse to use pkg-config unless these two environment variables are set
export PKG_CONFIG_SYSROOT_DIR=/
export PKG_CONFIG_LIBDIR=${lib.getLib pkg-config}/lib
echo "QMAKE_PKG_CONFIG=''$''${CROSS_COMPILE}pkg-config" >> mkspecs/devices/${qtPlatformCross stdenv.hostPlatform}/qmake.conf
echo 'QMAKE_PKG_CONFIG=''$''${CROSS_COMPILE}pkg-config' >> mkspecs/devices/${qtPlatformCross stdenv.hostPlatform}/qmake.conf
'';
postConfigure = ''