mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
26a710ad67
svn path=/nixpkgs/trunk/; revision=8054
10 lines
387 B
Bash
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-*)"
|
|
} |