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 <thomas.bonnefille@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 5202ddc777)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Bonnefille
2024-12-16 22:30:52 +01:00
committed by Peter Korsgaard
parent 1d6e1af555
commit fdcd67c59e

View File

@@ -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