Skip to content

Commit

Permalink
Merge pull request #559 from ItsJamie9494/jamie/meson-setup
Browse files Browse the repository at this point in the history
builder-module: Use `meson setup` instead of `meson`
  • Loading branch information
smcv authored Sep 4, 2023
2 parents 67c892c + e75b246 commit 56e7693
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/builder-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,12 @@ builder_module_build_helper (BuilderModule *self,
prefix = builder_options_get_prefix (self->build_options, context);
libdir = builder_options_get_libdir (self->build_options, context);

if (meson)
{
/* Meson's setup command is now meson setup */
g_ptr_array_add (configure_args_arr, g_strdup ("setup"));
}

if (cmake || cmake_ninja)
{
g_ptr_array_add (configure_args_arr, g_strdup_printf ("-DCMAKE_INSTALL_PREFIX:PATH='%s'", prefix));
Expand Down

0 comments on commit 56e7693

Please sign in to comment.