mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
fd97db43bc
A .la file specifies linker flags to link with the library it describes. Its "dependency_libs" field lists the libraries that this library depends upon. This list often contains "-l" flags without corresponding "-L" flags. Many packages in Nixpkgs deal with this in one of these ways: - delete .la file [1] - clear dependency_libs [2] - add -L flags to dependency_libs [3] - propagate dependencies [4] Sometimes "dependency_libs" contain wrong "-L" flags pointing to the "dev" output with headers rather than to the main output with libraries. They have to be edited or deleted to reduce closure size [5]. Deleting .la files is often but not always safe [6]. Atomatically deleting as many of them as possible is complex [7]. Deleting .la files that describe shared rather than static libraries is probably safe; but clearing their "dependency_libs" field achieves the same effect with less potential for unintended consequences. This is the approach that may be enabled for all Nixpkgs. [1] |
||
---|---|---|
.. | ||
audit-tmpdir.sh | ||
auto-patchelf.sh | ||
autoreconf.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 |