mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #10943 from flyn-org/libgd
libgd: fix building with freetype support
This commit is contained in:
+2
-1
@@ -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)/
|
||||
@@ -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 += \
|
||||
|
||||
Reference in New Issue
Block a user