libsepol: use $(HOST_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
d059e8cca6
commit
e4d0c3f96a
|
@ -34,11 +34,11 @@ define LIBSEPOL_INSTALL_TARGET_CMDS
|
|||
endef
|
||||
|
||||
define HOST_LIBSEPOL_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR)
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR)
|
||||
endef
|
||||
|
||||
define HOST_LIBSEPOL_INSTALL_CMDS
|
||||
$(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR)
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR)
|
||||
mv $(HOST_DIR)/lib/libsepol.so.1 $(HOST_DIR)/usr/lib
|
||||
(cd $(HOST_DIR)/usr/lib; rm -f libsepol.so; ln -s libsepol.so.1 libsepol.so)
|
||||
-rmdir $(HOST_DIR)/lib
|
||||
|
|
Loading…
Reference in a new issue