diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-02-26 19:25:00 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-02-26 19:37:37 +0530 |
commit | 31a9c756cbe5c684722231b081aa7a99ed386976 (patch) | |
tree | 0099b14b57298b822c84514408d150e387a3dd72 | |
parent | d22036c35a991153e93da4bed3e38d48c4796d16 (diff) |
cerbero: Don't warn about import library for libvpx
libvpx outputs a static library when targetting Windows, so don't warn
about that and confuse users.
-rw-r--r-- | cerbero/build/recipe.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py index 6e1b0c78..b41461e1 100644 --- a/cerbero/build/recipe.py +++ b/cerbero/build/recipe.py @@ -556,7 +556,9 @@ SOFTWARE LICENSE COMPLIANCE.\n\n''' m.warning("BUG: Found multiple DLLs for libname {!r}:\n{}".format(libname, '\n'.join(dllpaths))) continue if len(dllpaths) == 0: - m.warning("Could not create import library for {!r}, no matching DLLs found".format(libname)) + # libvpx only outputs a static library on Windows + if self.name != 'libvpx' or self.config.target_platform != Platform.WINDOWS: + m.warning("Could not create import library for {!r}, no matching DLLs found".format(libname)) continue try: implib = genlib.create(libname, |