diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2017-03-17 17:06:15 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-18 14:09:42 +0100 |
| commit | c83446fccace19694e20b1d0a730680244d724fe (patch) | |
| tree | a824457f5f3ba10441efd189f9b6f5c1933fbce1 | |
| parent | 99c9b0affde4fcc3270425319b98a0e5e32f5964 (diff) | |
| download | buildroot-c83446fccace19694e20b1d0a730680244d724fe.tar.gz buildroot-c83446fccace19694e20b1d0a730680244d724fe.zip | |
acl: add host variant
We need host-acl to fix issues with fakeroot.
Unfortunately, all the hacks (except the .la fixup) have to be repeated.
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Andreas Naumann <dev@andin.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | package/acl/acl.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/acl/acl.mk b/package/acl/acl.mk index 9fd5de18a4..e1462b60aa 100644 --- a/package/acl/acl.mk +++ b/package/acl/acl.mk @@ -43,4 +43,15 @@ endef ACL_POST_INSTALL_STAGING_HOOKS += ACL_FIX_LIBTOOL_LA_LIBDIR +HOST_ACL_DEPENDENCIES = host-attr +HOST_ACL_CONF_OPTS = --enable-gettext=no +HOST_ACL_MAKE_ENV = CFLAGS="$(HOST_CFLAGS)" +HOST_ACL_INSTALL_OPTS = \ + prefix=$(HOST_DIR)/usr \ + exec_prefix=$(HOST_DIR)/usr \ + PKG_DEVLIB_DIR=$(HOST_DIR)/usr/lib \ + install-dev install-lib +# For the host, libacl.la is correct, no fixup needed. + $(eval $(autotools-package)) +$(eval $(host-autotools-package)) |

