Skip to content

Commit

Permalink
Pass prefix options to make in source.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Dec 29, 2024
1 parent 12b88cf commit ba21a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/extensions/source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba21a89

Please sign in to comment.