nixpkgs/pkgs
Bjørn Forsman 06ed82677a qt5: embed path to mesa (libGL) in Qt mkspecs file
Fixes this problem, when building apps in QtCreator:

  ...(compile output window)
  g++ -Wl,-rpath,/nix/store/1w7h7p6s2srfw2ady90k7072991lrnpp-qtbase-5.4.2/lib \
      -o qt-test3 main.o mainwindow.o moc_mainwindow.o \
      -L/nix/store/1w7h7p6s2srfw2ady90k7072991lrnpp-qtbase-5.4.2/lib \
      -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
  /nix/store/b8qhjrwf8sf9ggkjxqqav7f1m6w83bh0-binutils-2.23.1/bin/ld: cannot find -lGL
  collect2: error: ld returned 1 exit status

mesa is already in the closure of Qt, so there is no size increase.
The patch is copied into both qt-5.3 and qt-5.4 directories, like other
patches are.

Note that programs still can _run_ against a different libGL (e.g. one
provided by nvidia) by configuring the dynamic linker. For instance,
NixOS sets the LD_LIBRARY_PATH environment variable to
/run/opengl-driver/lib/, meaning that whatever libGL is found there
will be used instead of the default (mesa).
2015-08-29 22:21:57 +02:00
..
applications Merge pull request #9526 from dfoxfranke/cvs-fast-export 2015-08-29 20:09:59 +02:00
build-support buildFHSUserEnv: add .env support 2015-08-26 19:39:08 +03:00
data Unify the docbook-xsl and docbook-xsl-ns expressions 2015-08-27 19:07:44 +02:00
desktops gcr: 3.14.0 -> 3.16.0, should fix race condition during build 2015-08-28 11:35:29 +02:00
development qt5: embed path to mesa (libGL) in Qt mkspecs file 2015-08-29 22:21:57 +02:00
games glob2: fix build failure 2015-08-29 01:09:24 -04:00
misc vimPlugins: adding css_color_5056, ctrlp-py-matcher, ctrlp-z, goyo, vim-signify, vim-webdevicons 2015-08-29 21:01:38 +02:00
os-specific ipset: 6.24 -> 6.26 2015-08-28 17:49:15 -07:00
servers Merge pull request #9531 from offlinehacker/pkgs/skydns/update_2.5.2b 2015-08-29 18:34:04 +02:00
shells add binutils to bash build for size 2015-08-12 11:27:54 -07:00
stdenv Don't barf JSON at users in error messages 2015-08-27 15:32:45 +02:00
test
tools parallel: Fix some needed dependencies 2015-08-29 10:49:23 -07:00
top-level Fix eval 2015-08-29 22:18:59 +02:00