package/quazip: add full destination path when installing qztest

Fixes: 53044437c8 ("package/quazip: add option to build/install tests")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni
2026-01-01 22:59:36 +01:00
parent 4ae42d874d
commit 21a8136fb3

View File

@@ -20,7 +20,7 @@ ifeq ($(BR2_PACKAGE_QUAZIP_INSTALL_TESTS),y)
QUAZIP_CONF_OPTS += -DQUAZIP_ENABLE_TESTS=ON
define QUAZIP_INSTALL_TESTS
$(INSTALL) -D -m 0755 $(@D)/qztest/qztest $(TARGET_DIR)/usr/bin
$(INSTALL) -D -m 0755 $(@D)/qztest/qztest $(TARGET_DIR)/usr/bin/qztest
endef
QUAZIP_POST_INSTALL_TARGET_HOOKS += QUAZIP_INSTALL_TESTS