mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-03 13:36:02 -04:00
Update to latest bubblewrap (0.2.1)
This has the NFS fix https://github.com/projectatomic/bubblewrap/pull/258 which means flatpak works on NFS. Closes: #1559 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
09e9d6896d
commit
0a778dd7e2
@@ -102,7 +102,7 @@ if !WITH_SYSTEM_BWRAP
|
||||
bwrap_PROGRAMS = flatpak-bwrap
|
||||
flatpak_bwrap_SOURCES = $(bwrap_SOURCES)
|
||||
flatpak_bwrap_CFLAGS = $(AM_CFLAGS) $(bwrap_CFLAGS)
|
||||
flatpak_bwrap_LDADD = $(AM_LDADD) $(bwrap_LDADD)
|
||||
flatpak_bwrap_LDADD = $(AM_LDADD) $(bwrap_LDADD) $(CAP_LIB)
|
||||
bwrapdir = $(libexecdir)
|
||||
include bubblewrap/Makefile-bwrap.am.inc
|
||||
|
||||
|
||||
Submodule bubblewrap updated: 30548332a7...5f27455af6
@@ -142,6 +142,7 @@ AC_ARG_WITH([system-bubblewrap],
|
||||
[AS_HELP_STRING([--with-system-bubblewrap], [Use system bwrap executable [default=check $BWRAP]])],
|
||||
[BWRAP="$withval"],
|
||||
[BWRAP="${BWRAP:-false}"])
|
||||
CAP_LIB=
|
||||
AS_CASE([$BWRAP],
|
||||
[yes],
|
||||
[BWRAP=bwrap],
|
||||
@@ -155,8 +156,15 @@ if test "x$BWRAP" != xfalse; then
|
||||
[AC_MSG_ERROR([You need at least version $SYSTEM_BWRAP_REQS of bubblewrap to use the system installed version])])
|
||||
AM_CONDITIONAL([WITH_SYSTEM_BWRAP], [true])
|
||||
else
|
||||
AC_CHECK_LIB(cap, cap_from_text, CAP_LIB=-lcap)
|
||||
if test "$ac_cv_lib_cap_cap_from_text" != "yes"; then
|
||||
AC_MSG_ERROR([*** libcap needed by bubblewrap but not found])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([WITH_SYSTEM_BWRAP], [false])
|
||||
fi
|
||||
AC_SUBST([CAP_LIB])
|
||||
|
||||
|
||||
AC_CHECK_FUNCS(fdwalk)
|
||||
LIBGLNX_CONFIGURE
|
||||
|
||||
Reference in New Issue
Block a user