Skip to content

Commit

Permalink
Merge pull request #10943 from flyn-org/libgd
Browse files Browse the repository at this point in the history
libgd: fix building with freetype support
  • Loading branch information
neheb authored Jan 5, 2020
2 parents 90e88a4 + 7bd2a14 commit 1ab383f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/libgd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=libgd
PKG_VERSION:=2.2.5
PKG_RELEASE:=5
PKG_RELEASE:=6

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/gd-$(PKG_VERSION)/
Expand Down Expand Up @@ -79,6 +79,7 @@ endif

ifdef CONFIG_LIBGD_FREETYPE
CMAKE_OPTIONS += \
-DFREETYPE_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/freetype2/ \
-DENABLE_FREETYPE=ON
else
CMAKE_OPTIONS += \
Expand Down

0 comments on commit 1ab383f

Please sign in to comment.