mesa.drivers: Convert hard links to symlinks
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
23d785aa6f
commit
4e199a91dc
@ -15,6 +15,7 @@
|
||||
, enableOSMesa ? stdenv.isLinux
|
||||
, enableOpenCL ? stdenv.isLinux && stdenv.isx86_64
|
||||
, libclc
|
||||
, jdupes
|
||||
}:
|
||||
|
||||
/** Packaging design:
|
||||
@ -233,6 +234,9 @@ self = stdenv.mkDerivation {
|
||||
fi
|
||||
done
|
||||
|
||||
# NAR doesn't support hard links, so convert them to symlinks.
|
||||
${jdupes}/bin/jdupes -Hlr "$drivers"
|
||||
|
||||
# add RPATH so the drivers can find the moved libgallium and libdricore9
|
||||
# moved here to avoid problems with stripping patchelfed files
|
||||
for lib in $drivers/lib/*.so* $drivers/lib/*/*.so*; do
|
||||
|
Loading…
Reference in New Issue
Block a user