* [Buildroot] [PATCH 1/1] package/gvfs: fix static build with libarchive
@ 2019-10-27 7:33 Fabrice Fontaine
2019-10-27 8:52 ` Thomas Petazzoni
2019-10-31 10:28 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-10-27 7:33 UTC (permalink / raw)
To: buildroot
Use pkg-config to retrieve static dependencies of libarchive in gvfs.mk
instead of patching configure.ac as upstream switched to meson
Fixes:
- http://autobuild.buildroot.org/results/486187bb7b8800f44a8c173af518b84e68e53584
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/gvfs/gvfs.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk
index 9bfe9e60fb..c380a710fb 100644
--- a/package/gvfs/gvfs.mk
+++ b/package/gvfs/gvfs.mk
@@ -13,12 +13,13 @@ GVFS_DEPENDENCIES = host-pkgconf host-libglib2 libglib2 dbus shared-mime-info \
$(TARGET_NLS_DEPENDENCIES)
GVFS_LICENSE = LGPL-2.0+
GVFS_LICENSE_FILES = COPYING
+GVFS_LIBS = $(TARGET_NLS_LIBS)
# Export ac_cv_path_LIBGCRYPT_CONFIG unconditionally to prevent
# build system from searching the host paths.
GVFS_CONF_ENV = \
ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
- LIBS=$(TARGET_NLS_LIBS)
+ LIBS="$(GVFS_LIBS)"
# Most of these are missing library support
GVFS_CONF_OPTS = \
@@ -60,6 +61,7 @@ GVFS_CONF_OPTS += \
--enable-archive \
--with-archive-includes=$(STAGING_DIR)/usr \
--with-archive-libs=$(STAGING_DIR)/usr
+GVFS_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libarchive`
else
GVFS_CONF_OPTS += --disable-archive
endif
--
2.23.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/gvfs: fix static build with libarchive
2019-10-27 7:33 [Buildroot] [PATCH 1/1] package/gvfs: fix static build with libarchive Fabrice Fontaine
@ 2019-10-27 8:52 ` Thomas Petazzoni
2019-10-31 10:28 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-27 8:52 UTC (permalink / raw)
To: buildroot
On Sun, 27 Oct 2019 08:33:17 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Use pkg-config to retrieve static dependencies of libarchive in gvfs.mk
> instead of patching configure.ac as upstream switched to meson
>
> Fixes:
> - http://autobuild.buildroot.org/results/486187bb7b8800f44a8c173af518b84e68e53584
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/gvfs/gvfs.mk | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/gvfs: fix static build with libarchive
2019-10-27 7:33 [Buildroot] [PATCH 1/1] package/gvfs: fix static build with libarchive Fabrice Fontaine
2019-10-27 8:52 ` Thomas Petazzoni
@ 2019-10-31 10:28 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-10-31 10:28 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Use pkg-config to retrieve static dependencies of libarchive in gvfs.mk
> instead of patching configure.ac as upstream switched to meson
> Fixes:
> - http://autobuild.buildroot.org/results/486187bb7b8800f44a8c173af518b84e68e53584
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2019.02.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-31 10:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-27 7:33 [Buildroot] [PATCH 1/1] package/gvfs: fix static build with libarchive Fabrice Fontaine
2019-10-27 8:52 ` Thomas Petazzoni
2019-10-31 10:28 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.