From ba21a89e0ba46f7d539078b31f4a553268a9ab6c Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sun, 29 Dec 2024 09:22:49 +0530 Subject: [PATCH] Pass prefix options to make in source.sh --- src/scripts/extensions/source.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/extensions/source.sh b/src/scripts/extensions/source.sh index d5c57a2c..bb6095ca 100644 --- a/src/scripts/extensions/source.sh +++ b/src/scripts/extensions/source.sh @@ -152,7 +152,7 @@ add_extension_from_source() { patch_extension "$extension" >/dev/null 2>&1 run_group "phpize" "phpize" run_group "sudo $prefix_opts ./configure $suffix_opts $opts" "configure" - run_group "sudo make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)" "make" + run_group "sudo $prefix_opts make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)" "make" run_group "sudo make install" "make install" enable_extension "$extension" "$prefix" fi