0ceb847af5
Include a patch to make CMake correctly find the Brotli libraries when they have been built as static libraries. Fixes: - http://autobuild.buildroot.net/results/f1c4b5aeb12af7b7a3e8ae01c219004ecd9befd6/ - http://autobuild.buildroot.net/results/74d20ff38766466623cc4a9eb18afcda831bc20b/ Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
753 B
Makefile
25 lines
753 B
Makefile
################################################################################
|
|
#
|
|
# woff2
|
|
#
|
|
################################################################################
|
|
|
|
WOFF2_VERSION = 1.0.2
|
|
WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz
|
|
WOFF2_SITE = https://github.com/google/woff2/archive
|
|
WOFF2_LICENSE = MIT
|
|
WOFF2_LICENSE_FILES = LICENSE
|
|
WOFF2_INSTALL_STAGING = YES
|
|
WOFF2_DEPENDENCIES = brotli
|
|
WOFF2_CONF_OPTS = \
|
|
-DNOISY_LOGGING=OFF
|
|
|
|
# The CMake build files for woff2 manually set some RPATH handling options
|
|
# which make the installation steps fail with static builds, so pass this
|
|
# to prevent any attempt of mangling RPATH that CMake would do.
|
|
ifneq ($(BR2_SHARED_LIBS),y)
|
|
WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|