[HarfBuzz] strang dual-architecture problem under OS X

Werner LEMBERG wl at gnu.org
Thu Feb 13 00:36:58 CET 2014


I've now found out that it *is* a libtool problem:

>   libtool: link: \
>     (cd /Users/wl/harfbuzz-0.9.26/src/.libs/libharfbuzz.lax/libhb-ucdn.a/unfat-91266/libhb-ucdn.a-i386 \
>      && ar x "libhb-ucdn.a")
>   libtool: link: \
>     (cd /Users/wl/harfbuzz-0.9.26/src/.libs/libharfbuzz.lax/libhb-ucdn.a/unfat-91266/libhb-ucdn.a-x86_64 \
>      && ar x "libhb-ucdn.a")
>   find: warning: \
>     Unix filenames usually don't contain slashes (though pathnames do). \
>     That means that '-name `unfat-91266/libhb-ucdn.a-i386/ucdn.o'' \
>     will probably evaluate to false all the time on this system. ...

This warning message caused by this line in `libtool', in function
`func_extract_archives':

  darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`

It searches for file names in the directory `unfat-$$'.  However, if
the value of `foo_LIBADD' contains a subdirectory, as in

  libharfbuzz_la_LIBADD = hb-ucdn/libhb-ucdn.la

this fails, since `$darwin_file' now contains something with slashes.


    Werner


More information about the HarfBuzz mailing list