nixpkgs/pkgs/development/libraries/tk
hannesweisbach 371e2622c0
tk: fix build on darwin
Installing libtk on macOS 10.15.5 resulted in a following warning:

    warning: skipping dangling symlink '/nix/store/3whl4256v6qf15dsm1d5mf0lzhfh6w06-user-environment/lib/libtk.so'

which was caused by the following code in generic.nix of the tk derivation:

    ln -s $out/lib/libtk${super.tcl.release}.so $out/lib/libtk.so

Shared libraries on macOS are suffixed `.dylib' not 'so' so
libtk${version}.so does not actually exist. Consequently a symlink from
libtk.dylib is never created and linking against tk fails.
2020-08-15 17:37:13 +02:00
..
8.5.nix
8.6.nix
different-prefix-with-tcl.patch
Fix-bad-install_name-for-libtk8.6.dylib.patch
generic.nix