diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-11-08 19:45:24 -0800 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-11-09 09:32:26 +0530 |
commit | f8415590bd70f396c792fd9c11d92b483bd4a816 (patch) | |
tree | 277b0db21d07210ed63a20fc7f97e799d046fb77 /recipes/gst-validate.recipe | |
parent | 2b5a69d8d25dfa54a3cae1e2839ba358cff213f5 (diff) |
cerbero: Fix logic for finding plugin DLLs
f[3:] is wrong because f is `lib/gstreamer-1.0/libfoo.dll`
Because of this, plugins built with MSVC weren't getting included in
the binary release at all.
Diffstat (limited to 'recipes/gst-validate.recipe')
-rw-r--r-- | recipes/gst-validate.recipe | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/gst-validate.recipe b/recipes/gst-validate.recipe index 7b53c39b..64941e10 100644 --- a/recipes/gst-validate.recipe +++ b/recipes/gst-validate.recipe @@ -22,7 +22,6 @@ class Recipe(custom.GStreamer): "share/gstreamer-1.0/validate/scenarios/*.scenario" ] - files_gst_validate_plugins = ['lib/gstreamer-1.0/validate/libgstvalidatefaultinjection%(mext)s'] files_typelibs = [ 'GstValidate-1.0' ] @@ -30,3 +29,7 @@ class Recipe(custom.GStreamer): def prepare(self): if self.config.target_platform == Platform.LINUX: self.files_libs.append("libgstvalidate-default-overrides-1.0") + + if self.config.platform != Platform.WINDOWS: + # validatedefaultinjection plugin isn't built on Windows + self.files_gst_validate_plugins = ['lib/gstreamer-1.0/validate/libgstvalidatefaultinjection%(mext)s'] |