Merge pull request #75947 from eraserhd/staging-tcl-symlink-fix

tcl: fix dangling symlink
This commit is contained in:
Mario Rodas 2019-12-20 18:39:03 -05:00 committed by GitHub
commit 039a5bd71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,10 +31,12 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
postInstall = ''
postInstall = let
dllExtension = stdenv.hostPlatform.extensions.sharedLibrary;
in ''
make install-private-headers
ln -s $out/bin/tclsh${release} $out/bin/tclsh
ln -s $out/lib/libtcl${release}.so $out/lib/libtcl.so
ln -s $out/lib/libtcl${release}${dllExtension} $out/lib/libtcl${dllExtension}
'';
meta = with stdenv.lib; {