I'm going to guess that you need to use the version specifier in the package name. Because I'm not seeing anything there to handle it specifically.

https://github.com/mesonbuild/meson/blob/master/mesonbuild/dependencies/dub.py

i.e. ``dub build [<package>[@<version-spec>]] [<options...>]``

So use ``package:sub@1.0.2``.

Also I just noticed meson doesn't support shared libraries from dub, so something to keep in mind.
  • Using DUB packag... Dmitry Olshansky via Digitalmars-d-learn
    • Re: Using D... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Usi... Dmitry Olshansky via Digitalmars-d-learn
      • Re: Usi... Dmitry Olshansky via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... Dmitry Olshansky via Digitalmars-d-learn
    • Re: Using D... Denis Feklushkin via Digitalmars-d-learn
      • Re: Usi... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... Denis Feklushkin via Digitalmars-d-learn

Reply via email to