mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
gd: fix build with freetype but without fontconfig
Fixes http://autobuild.buildroot.net/results/3309617d2d5e14c0713dbaf9185815d79293e33b Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
540c24838c
commit
d97187f8c8
@ -18,6 +18,10 @@ GD_CONF_OPT = --without-x --disable-rpath
|
|||||||
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
||||||
GD_DEPENDENCIES += fontconfig
|
GD_DEPENDENCIES += fontconfig
|
||||||
GD_CONF_OPT += --with-fontconfig
|
GD_CONF_OPT += --with-fontconfig
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
||||||
|
GD_DEPENDENCIES += freetype
|
||||||
GD_CONF_ENV += ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
|
GD_CONF_ENV += ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user