From fdcd67c59e69f6e2ea4f97443ced94ed4f7a61d7 Mon Sep 17 00:00:00 2001 From: Thomas Bonnefille Date: Mon, 16 Dec 2024 22:30:52 +0100 Subject: [PATCH] package/quickjs: fix typo in prefix The quickjs Makefile expects the variable PREFIX to be set [1] but prefix is set instead. Without this parameter quickjs is installed to /usr/local by default [2] instead of /usr as requested. This commit fixed this error. [1]: https://github.com/bellard/quickjs/blob/master/Makefile#L383 [2]: https://github.com/bellard/quickjs/blob/master/Makefile#L43 Signed-off-by: Thomas Bonnefille Signed-off-by: Julien Olivain (cherry picked from commit 5202ddc77734c80a0cdaa77a1d51e05e61fc5819) Signed-off-by: Peter Korsgaard --- package/quickjs/quickjs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/quickjs/quickjs.mk b/package/quickjs/quickjs.mk index e745923b87..2bd9da1392 100644 --- a/package/quickjs/quickjs.mk +++ b/package/quickjs/quickjs.mk @@ -29,7 +29,7 @@ define QUICKJS_INSTALL_STAGING_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(STAGING_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef @@ -39,7 +39,7 @@ define QUICKJS_INSTALL_TARGET_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(TARGET_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef