diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-09-30 13:28:21 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-09-30 22:22:18 +0530 |
commit | 6ed00df103cb745e7812315c1fad63c4ef70b9e9 (patch) | |
tree | 8a233da261c412f31c6712920490c5d793caf2de /recipes/spandsp.recipe | |
parent | f111503d20ae56254222b88eca1656ec2ddf1e22 (diff) |
recipes: Try to eliminate autoreconf as much as possible on Windows
autom4te seems to hang on the Windows CI runners because it needs to
use the ancient MSYS perl, so try to eliminate it and see if it helps.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/616>
Diffstat (limited to 'recipes/spandsp.recipe')
-rw-r--r-- | recipes/spandsp.recipe | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/recipes/spandsp.recipe b/recipes/spandsp.recipe index 2ba100bc..d284bb64 100644 --- a/recipes/spandsp.recipe +++ b/recipes/spandsp.recipe @@ -10,10 +10,7 @@ class Recipe(recipe.Recipe): licenses = [License.LGPLv2_1Plus] deps = ['tiff'] allow_parallel_build = False - config_sh = 'sh ./autogen.sh && sh ./configure' patches = [ 'spandsp/0001-spandsp-do-not-compile-has_X86FEATURE-symbols.patch', - 'spandsp/0002-Define-LIBSPANDSP_EXPORTS-when-building-the-spandsp-.patch', - 'spandsp/0003-Use-BUILT_SOURCES-to-generate-extra-headers.patch', 'spandsp/0001-Don-t-do-a-whereis-which-dance-to-find-which.patch', 'spandsp/0001-Make-the-public-API-accessible-from-MSVC.patch', 'spandsp/0001-Delete-redundant-function-prototype-in-header.patch',] @@ -28,3 +25,13 @@ class Recipe(recipe.Recipe): self.set_env('ac_cv_func_realloc_0_nonnull', 'yes') if self.config.target_platform == Platform.WINDOWS: self.patches += ['spandsp/0001-Fix-build-for-windows-using-mingw.patch'] + + if self.config.platform == Platform.WINDOWS: + self.override_libtool = False + self.patches += ['spandsp/0001-Avoid-running-autoreconf-on-windows.patch'] + else: + self.config_sh = 'sh ./autogen.sh && sh ./configure' + self.patches += [ + 'spandsp/0002-Define-LIBSPANDSP_EXPORTS-when-building-the-spandsp-.patch', + 'spandsp/0003-Use-BUILT_SOURCES-to-generate-extra-headers.patch', + ] |