Browse Source

Merge pull request #10943 from flyn-org/libgd

libgd: fix building with freetype support
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
1ab383fb71
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libs/libgd/Makefile

+ 2
- 1
libs/libgd/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libgd PKG_NAME:=libgd
PKG_VERSION:=2.2.5 PKG_VERSION:=2.2.5
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/gd-$(PKG_VERSION)/ PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/gd-$(PKG_VERSION)/
@ -79,6 +79,7 @@ endif
ifdef CONFIG_LIBGD_FREETYPE ifdef CONFIG_LIBGD_FREETYPE
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DFREETYPE_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/freetype2/ \
-DENABLE_FREETYPE=ON -DENABLE_FREETYPE=ON
else else
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \


Loading…
Cancel
Save