--- libreoffice-7.5.3.1/external/skia/Library_skia.mk.old 2023-04-22 20:48:42.387319778 -0400 +++ libreoffice-7.5.3.1/external/skia/Library_skia.mk 2023-04-22 20:49:54.180660732 -0400 @@ -96,7 +96,7 @@ libpng \ )) -ifeq ($(OS),LINUX) +ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS))) $(eval $(call gb_Library_add_libs,skia,\ -lm \ -ldl \