However, graphite2 is still installing libgraphite2.la which contains incorrect information (i.e. dlname set to libgraphite2.so and
old_library set to ''):
This will result in the following build failure with any applications using this file such as harfbuzz:
arm-linux-g++.br_real: error: /home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgraphite2.so: No such file or directory
make[5]: *** [main] Error 1
Instead of trying to fix this libtool file, just disable it when building a static library as it is not needed
Static library is supported since version 1.3.11 and https://github.com/silnrsi/graphite/commit/2f143c04da5caa43ddf4dba437b2f2bc26bf4238
However, graphite2 is still installing libgraphite2.la which contains incorrect information (i.e. dlname set to libgraphite2.so and old_library set to ''):
This will result in the following build failure with any applications using this file such as harfbuzz:
Instead of trying to fix this libtool file, just disable it when building a static library as it is not needed
Fixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com