mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pkgsi686Linux.qt5.qtbase: fix build
This commit is contained in:
parent
aaf6f09717
commit
658ffb06d6
1 changed files with 5 additions and 0 deletions
|
@ -146,6 +146,11 @@ stdenv.mkDerivation {
|
|||
sed -i mkspecs/common/linux.conf \
|
||||
-e "/^QMAKE_INCDIR_OPENGL/ s|$|${libGL.dev or libGL}/include|" \
|
||||
-e "/^QMAKE_LIBDIR_OPENGL/ s|$|${libGL.out}/lib|"
|
||||
'' +
|
||||
lib.optionalString (stdenv.hostPlatform.isx86_32 && stdenv.cc.isGNU)
|
||||
''
|
||||
sed -i mkspecs/common/gcc-base-unix.conf \
|
||||
-e "/^QMAKE_LFLAGS_SHLIB/ s/-shared/-shared -static-libgcc/"
|
||||
''
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue