lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 82e45533a98f25c3af7e8751749a7442d93ea69e
parent 8f10e59f70a9dc728d93af2384bd94078a4c24d6
Author: tripolar <tripolar@users.noreply.github.com>
Date:   Wed, 28 Jan 2015 00:52:13 +0100

Merge pull request #828 from jow-/glib2-2.43.3-linker-fix

glib2: fix missing gobject library when linking glib-compile-resources (#826)
Diffstat:
Mlibs/glib2/Makefile | 4+++-
Alibs/glib2/patches/001-automake-compat.patch | 11+++++++++++
Alibs/glib2/patches/100-fix-gio-linking.patch | 10++++++++++
3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2012 OpenWrt.org +# Copyright (C) 2007-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -21,6 +21,8 @@ HOST_BUILD_DEPENDS:=libintl/host libiconv/host libffi/host PKG_INSTALL:=1 PKG_USE_MIPS16:=0 +PKG_FIXUP:=autoreconf + HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/glib-$(PKG_VERSION) include $(INCLUDE_DIR)/host-build.mk diff --git a/libs/glib2/patches/001-automake-compat.patch b/libs/glib2/patches/001-automake-compat.patch @@ -0,0 +1,11 @@ +--- a/gtk-doc.make ++++ b/gtk-doc.make +@@ -267,7 +267,7 @@ uninstall-local: + # + # Require gtk-doc when making dist + # +-if HAVE_GTK_DOC ++if ENABLE_GTK_DOC + dist-check-gtkdoc: docs + else + dist-check-gtkdoc: diff --git a/libs/glib2/patches/100-fix-gio-linking.patch b/libs/glib2/patches/100-fix-gio-linking.patch @@ -0,0 +1,10 @@ +--- a/gio/Makefile.am ++++ b/gio/Makefile.am +@@ -695,6 +695,7 @@ bin_PROGRAMS = gio-querymodules glib-com + + glib_compile_resources_LDADD = libgio-2.0.la \ + $(top_builddir)/gobject/libgobject-2.0.la \ ++ $(top_builddir)/gmodule/libgmodule-2.0.la \ + $(top_builddir)/glib/libglib-2.0.la \ + $(NULL) +