diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-17 02:55:04 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-18 03:31:44 +0530 |
commit | 3d1a49d2111f1141ce555e5b6bf1429e58d3c6ea (patch) | |
tree | a93d625e392d494e21b5fb710939e90127a39ad9 | |
parent | 2b7456eb87acc0a5448318693d08a83ca1b24418 (diff) |
ladspa.recipe: Set library_type for custom builds
All build types must have this, or gen_library_file() can fail.
-rw-r--r-- | cerbero/build/build.py | 5 | ||||
-rw-r--r-- | recipes/ladspa.recipe | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/cerbero/build/build.py b/cerbero/build/build.py index 7a72ec42..6616319d 100644 --- a/cerbero/build/build.py +++ b/cerbero/build/build.py @@ -40,6 +40,7 @@ class Build (object): @type config: L{cerbero.config.Config} ''' + library_type = LibraryType.BOTH # Whether this recipe's build system can be built with MSVC can_msvc = False @@ -308,7 +309,6 @@ class MakefilesBase (Build, ModifyEnvBase): allow_parallel_build = True srcdir = '.' requires_non_src_build = False - library_type = LibraryType.BOTH def __init__(self): Build.__init__(self) @@ -403,7 +403,6 @@ class Autotools (MakefilesBase): can_use_configure_cache = True supports_cache_variables = True disable_introspection = False - library_type = LibraryType.BOTH async def configure(self): # Only use --disable-maintainer mode for real autotools based projects @@ -486,7 +485,6 @@ class CMake (MakefilesBase): '-DCMAKE_INSTALL_INCLUDEDIR=%(prefix)s/include ' \ '%(options)s -DCMAKE_BUILD_TYPE=Release '\ '-DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX ' - library_type = LibraryType.BOTH @async_modify_environment async def configure(self): @@ -571,7 +569,6 @@ class Meson (Build, ModifyEnvBase) : meson_backend = 'ninja' # All meson recipes are MSVC-compatible, except if the code itself isn't can_msvc = True - library_type = LibraryType.BOTH def __init__(self): self.meson_options = self.meson_options or {} diff --git a/recipes/ladspa.recipe b/recipes/ladspa.recipe index f06a8690..e5f65684 100644 --- a/recipes/ladspa.recipe +++ b/recipes/ladspa.recipe @@ -12,6 +12,7 @@ class Recipe(recipe.Recipe): tarball_checksum = '4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded' files_devel = ['include/ladspa.h'] + library_type = LibraryType.NONE def install(self): include_path = os.path.join(self.config.prefix, 'include') |