Merge pull request #17197 from j-hao/harfbuzz-icu

harfbuzz-icu: symlink dylibs from harfbuzz on OSX
This commit is contained in:
Daiderd Jordan 2016-07-24 15:30:41 +02:00 committed by GitHub
commit 4796ae23c9
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ stdenv.mkDerivation {
rm "$out"/lib/libharfbuzz.* "$dev/lib/pkgconfig/harfbuzz.pc"
ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.la
ln -s {'${harfbuzz.dev}',"$dev"}/lib/pkgconfig/harfbuzz.pc
${optionalString stdenv.isDarwin ''
ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.dylib
ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.0.dylib
''}
'';
meta = with stdenv.lib; {