libreoffice/external/libeot/Module_libeot.mk
Tomaž Vajngerl 80e08f59ea make libeot compile on Windows
Compile for Windows with LO infrastructure (not the only external lib
where we do this).

Remove unneeded include of <err.h> in libeot.c that isn't used, but
Windows doesn't have <err.h> - it's a BSD / Linux thing.

Only compile libeot.la and not the eot2ttf binary (which uses err.h so
it doesn't compile on Windows).

Change-Id: I26afb2b7bcf0bdf0d2ce0bdbcfceb10599d599e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185057
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-05-09 06:55:09 +02:00

25 lines
637 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,libeot))
$(eval $(call gb_Module_add_targets,libeot,\
UnpackedTarball_libeot \
))
ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,libeot,\
StaticLibrary_libeot \
))
else
$(eval $(call gb_Module_add_targets,libeot,\
ExternalProject_libeot \
))
endif
# vim: set noet sw=4 ts=4: