* bzip2 installs a weird libbz2.so.1.0 symlink, which should be

libbz2.so.1.  And libbz2.so should link to libbz2.so.1.0.6.

svn path=/nixpkgs/branches/stdenv-updates/; revision=34095
This commit is contained in:
Eelco Dolstra 2012-05-14 21:57:18 +00:00
parent 7a6887fc8a
commit 0f4d6b791e

View File

@ -10,7 +10,7 @@ if test -n "$sharedLibrary"; then
preInstall() {
mkdir -p $out/lib
mv libbz2.so* $out/lib
ln -s libbz2.so.1.0 $out/lib/libbz2.so
(cd $out/lib && ln -s libbz2.so.1.0.? libbz2.so && mv libbz2.so.1.0 libbz2.so.1)
}
fi