harfbuzz-icu: symlink dylibs from harfbuzz on OSX

This commit is contained in:
Jun Hao 2016-07-23 13:56:08 +08:00
parent 04b30b2397
commit 245db68732
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; {