diff options
author | Bastian Köcher <git@kchr.de> | 2017-08-04 18:50:23 +0200 |
---|---|---|
committer | Bastian Köcher <git@kchr.de> | 2017-08-07 10:51:53 +0200 |
commit | 0053bf6d472475cdd924e1edc606639472bc34f4 (patch) | |
tree | 6a4be2233d7975a425a935a1954f365986a37e32 /pkgs/development/libraries/qt-5/5.6 | |
parent | e84c717df69f21d3924a4716bb8c50fe2693f08a (diff) | |
download | nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.tar nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.tar.gz nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.tar.bz2 nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.tar.lz nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.tar.xz nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.tar.zst nixpkgs-0053bf6d472475cdd924e1edc606639472bc34f4.zip |
QT5.6: Fixes compile error with wrong LD env variable
QT uses -Wl linker flags and these flags only work with gcc/g++ and not with LD directly.
Diffstat (limited to 'pkgs/development/libraries/qt-5/5.6')
-rw-r--r-- | pkgs/development/libraries/qt-5/5.6/qtbase/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix b/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix index 4e7c7ea5456..c8fa628d1ea 100644 --- a/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix +++ b/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix @@ -103,6 +103,8 @@ stdenv.mkDerivation { preConfigure = '' export LD_LIBRARY_PATH="$PWD/lib:$PWD/plugins/platforms:$LD_LIBRARY_PATH" export MAKEFLAGS=-j$NIX_BUILD_CORES + # We need to set LD to CXX or otherwise we get nasty compile errors + export LD=$CXX configureFlags+="\ -plugindir $out/$qtPluginPrefix \ |