3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/setup-hooks
Noah Fontes 4765a3e153
autoPatchelfHook: improve arch/ABI compatibility
Fully enabling crossSystem support for autoPatchelfHook came with some
perhaps unintended consequences of being a bit more aggressive about
patching ELF files from architectures/ABIs that differ from the target
(previously, those files would be ignored because ldd usually couldn't
handle them).

This change adds architecture and rough OS ABI detection to the script
so that it doesn't try to blindly replace the interpreter of files that
can't possibly use that interpreter, and also makes sure it doesn't
accidentally use libraries of other architectures/ABIs.
2021-09-18 21:57:08 -07:00
..
wrap-gapps-hook wrapGAppsNoGuiHook: init 2020-11-26 14:06:07 +01:00
audit-blas.sh
audit-tmpdir.sh
auto-patchelf.sh autoPatchelfHook: improve arch/ABI compatibility 2021-09-18 21:57:08 -07:00
autoreconf.sh stdenv: conservative undefined variables 2021-08-03 12:43:34 +09:00
breakpoint-hook.sh
compress-man-pages.sh setup-hooks: compress-man-pages.sh: Do not attempt to compress .xz files 2021-08-19 17:13:05 -04:00
copy-desktop-items.sh copyDesktopItems: add new setup-hook 2020-11-29 04:03:38 +01:00
die.sh
enable-coverage-instrumentation.sh
find-xml-catalogs.sh
fix-darwin-dylib-names.sh fixDarwinDylibNames: set name of install_name_tool 2021-05-17 00:27:01 +09:00
gog-unpack.sh
install-shell-files.sh
keep-build-tree.sh
ld-is-cc-hook.sh
make-coverage-analysis-report.sh
make-symlinks-relative.sh
make-wrapper.sh
move-docs.sh Revert "Merge remote-tracking branch 'origin/python-unstable' into staging-next" 2021-09-05 15:02:25 +02:00
move-lib64.sh
move-sbin.sh
move-systemd-user-units.sh
multiple-outputs.sh
patch-shebangs.sh stdenv/patchShebangs: fix off by one reading old interpreter 2021-02-09 13:05:38 +09:00
prune-libtool-files.sh
reproducible-builds.sh stdenv: conservative undefined variables 2021-08-03 12:43:34 +09:00
role.bash
separate-debug-info.sh setup-hooks: separate-debug-info.sh: Remove extraneous local variable originally used in ec5b66eb 2021-08-05 17:52:27 +02:00
set-java-classpath.sh
set-source-date-epoch-to-latest.sh
setup-debug-info-dirs.sh
shorten-perl-shebang.sh
strip.sh setup-hooks/strip: silence 'File format not recognized' errors again 2021-01-02 10:46:27 +01:00
update-autotools-gnu-config-scripts.sh
use-old-cxx-abi.sh
validate-pkg-config.sh
win-dll-link.sh