Browse Source

Merge pull request #13090 from neheb/glb2

glib2: add full language support hack to fix compilation
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
4209eefce3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      libs/glib2/Makefile

+ 6
- 1
libs/glib2/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=glib2 PKG_NAME:=glib2
PKG_VERSION:=2.65.0 PKG_VERSION:=2.65.0
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/glib/2.65 PKG_SOURCE_URL:=@GNOME/glib/2.65
@ -24,6 +24,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/glib-$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/glib-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/glib-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=meson/host gettext-full libiconv/host PKG_BUILD_DEPENDS:=meson/host gettext-full libiconv/host
HOST_BUILD_DEPENDS:=meson/host gettext-full/host libiconv/host libffi/host HOST_BUILD_DEPENDS:=meson/host gettext-full/host libiconv/host libffi/host
PKG_CONFIG_DEPENDS:=CONFIG_BUILD_NLS
PKG_INSTALL:=1 PKG_INSTALL:=1
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
@ -111,6 +112,10 @@ define Build/InstallDev
$(1)/usr/lib/ $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
ifneq ($(INTL_FULL),)
$(SED) '/^Libs:/s/$$$$/ -lintl/' \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/glib-2.0.pc
endif
$(INSTALL_DATA) \ $(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
$(1)/usr/lib/pkgconfig $(1)/usr/lib/pkgconfig


Loading…
Cancel
Save