e4fbb244ee
If you want to only run autoPatchelf on a specific path and leave everything else alone, we now have a $dontAutoPatchelf environment variable, which causes the postFixup hook to not run at all. The name "dontAutoPatchelf" probably is a bit weird in conjunction with putting "autoPatchelfHook" in nativeBuildInputs, but unless someone comes up with a better name I keep it that way because it's consistent with all the other dontStrip, dontPatchShebangs, dontPatchELF and whatnot. A specific example where this is needed is when building the Android SDK emulator, which contains a few ARM binaries in subdirectories that should not be patched. If we were to run autoPatchelf on all outputs unconditionally we'd run into errors because some ARM libraries couldn't be found. Signed-off-by: aszlig <aszlig@nix.build> |
||
---|---|---|
.. | ||
audit-tmpdir.sh | ||
auto-patchelf.sh | ||
autoreconf.sh | ||
breakpoint-hook.sh | ||
compress-man-pages.sh | ||
die.sh | ||
enable-coverage-instrumentation.sh | ||
find-xml-catalogs.sh | ||
fix-darwin-dylib-names.sh | ||
gog-unpack.sh | ||
keep-build-tree.sh | ||
ld-is-cc-hook.sh | ||
make-coverage-analysis-report.sh | ||
make-wrapper.sh | ||
move-docs.sh | ||
move-lib64.sh | ||
move-sbin.sh | ||
multiple-outputs.sh | ||
patch-shebangs.sh | ||
prune-libtool-files.sh | ||
role.bash | ||
separate-debug-info.sh | ||
set-java-classpath.sh | ||
set-source-date-epoch-to-latest.sh | ||
setup-debug-info-dirs.sh | ||
strip.sh | ||
update-autotools-gnu-config-scripts.sh | ||
use-old-cxx-abi.sh | ||
win-dll-link.sh | ||
wrap-gapps-hook.sh |