build: Use glibc's xattr support instead of requiring libattr
Fixes the build on Debian, and is one library less. Closes: #78
This commit is contained in:
1 parent
2a30af72db
commit
534c4c20c3
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ AC_ARG_ENABLE(installed_tests,
|
||||
[enable_installed_tests=no])
|
||||
AM_CONDITIONAL(BUILDOPT_INSTALL_TESTS, test x$enable_installed_tests = xyes)
|
||||
|
||||
AC_CHECK_HEADER([attr/xattr.h],,[AC_MSG_ERROR([You must have attr/xattr.h from libattr])])
|
||||
AC_CHECK_HEADER([sys/xattr.h],,[AC_MSG_ERROR([You must have sys/xattr.h from glibc])])
|
||||
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
|
||||
+1
-1
Submodule libglnx updated: 08d1339f9a...d59a63e3e6.
@@ -23,7 +23,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib-unix.h>
|
||||
#include <attr/xattr.h>
|
||||
#include <sys/xattr.h>
|
||||
#include <gio/gfiledescriptorbased.h>
|
||||
#include <gio/gunixoutputstream.h>
|
||||
#include "otutil.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "ostree-checksum-input-stream.h"
|
||||
#include "ostree-mutable-tree.h"
|
||||
#include "ostree-varint.h"
|
||||
#include <attr/xattr.h>
|
||||
#include <sys/xattr.h>
|
||||
#include <glib/gprintf.h>
|
||||
|
||||
gboolean
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "ot-fs-utils.h"
|
||||
#include "libgsystem.h"
|
||||
#include <attr/xattr.h>
|
||||
#include <sys/xattr.h>
|
||||
#include <gio/gunixinputstream.h>
|
||||
|
||||
int
|
||||
|
||||
Reference in new issue
Block a user