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.
This commit is contained in:
parent
e84c717df6
commit
0053bf6d47
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user