aboutsummaryrefslogtreecommitdiff
path: root/package/poco/poco.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/poco/poco.mk')
-rw-r--r--package/poco/poco.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/poco/poco.mk b/package/poco/poco.mk
index 69ef314ced..5b8bdbf0db 100644
--- a/package/poco/poco.mk
+++ b/package/poco/poco.mk
@@ -51,11 +51,13 @@ define POCO_BUILD_CMDS
endef
define POCO_INSTALL_STAGING_CMDS
- $(MAKE) DESTDIR=$(STAGING_DIR) POCO_TARGET_OSARCH=$(ARCH) install -C $(@D)
+ $(MAKE) DESTDIR=$(STAGING_DIR) POCO_TARGET_OSARCH=$(ARCH) \
+ CROSSENV=$(TARGET_CROSS) install -C $(@D)
endef
define POCO_INSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) POCO_TARGET_OSARCH=$(ARCH) install -C $(@D)
+ $(MAKE) DESTDIR=$(TARGET_DIR) POCO_TARGET_OSARCH=$(ARCH) \
+ CROSSENV=$(TARGET_CROSS) install -C $(@D)
endef
$(eval $(generic-package))