1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/servers/x11/xorg/xorgserver.sh
Eelco Dolstra 26a710ad67 * Hack to address a GNU Make impurity (NIXPKGS-45).
svn path=/nixpkgs/trunk/; revision=8054
2007-02-26 19:11:19 +00:00

10 lines
387 B
Bash

# There is a dependency somewhere on `-ldl', which Make treats
# specially by mapping it to /usr/lib/libdl.so. That won't work on
# NixOS, so force Make to search in our own Glibc.
export VPATH=$(cat ${NIX_GCC}/nix-support/orig-libc)/lib
preConfigure=preConfigure
preConfigure() {
unpackFile $mesaSrc
configureFlags="$configureFlags --with-mesa-source=$(ls -d $(pwd)/Mesa-*)"
}