diff options
Diffstat (limited to 'package/freetype')
-rw-r--r-- | package/freetype/freetype.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 8643a8f223..d992610fbe 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -15,7 +15,7 @@ FREETYPE_DEPENDENCIES = host-pkgconf FREETYPE_CONFIG_SCRIPTS = freetype-config HOST_FREETYPE_DEPENDENCIES = host-pkgconf -HOST_FREETYPE_CONF_OPT = --without-zlib --without-bzip2 --without-png +HOST_FREETYPE_CONF_OPTS = --without-zlib --without-bzip2 --without-png # Regen required because the tarball ships with an experimental ltmain.sh # that can't be patched by our infra. @@ -32,25 +32,25 @@ HOST_FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool ifeq ($(BR2_PACKAGE_ZLIB),y) FREETYPE_DEPENDENCIES += zlib -FREETYPE_CONF_OPT += --with-zlib +FREETYPE_CONF_OPTS += --with-zlib else -FREETYPE_CONF_OPT += --without-zlib +FREETYPE_CONF_OPTS += --without-zlib endif ifeq ($(BR2_PACKAGE_BZIP2),y) FREETYPE_DEPENDENCIES += bzip2 -FREETYPE_CONF_OPT += --with-bzip2 +FREETYPE_CONF_OPTS += --with-bzip2 else -FREETYPE_CONF_OPT += --without-bzip2 +FREETYPE_CONF_OPTS += --without-bzip2 endif ifeq ($(BR2_PACKAGE_LIBPNG),y) FREETYPE_DEPENDENCIES += libpng -FREETYPE_CONF_OPT += LIBPNG_CFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --cflags`" \ +FREETYPE_CONF_OPTS += LIBPNG_CFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --cflags`" \ LIBPNG_LDFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --ldflags`" FREETYPE_LIBPNG_LIBS = "`$(STAGING_DIR)/usr/bin/libpng-config --libs`" else -FREETYPE_CONF_OPT += --without-png +FREETYPE_CONF_OPTS += --without-png endif # Extra fixing since includedir and libdir are expanded from configure values |