aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Release-notes-for-0.44.0.md6
-rw-r--r--mesonbuild/dependencies/misc.py1
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Release-notes-for-0.44.0.md b/docs/markdown/Release-notes-for-0.44.0.md
index 56956d7..d765940 100644
--- a/docs/markdown/Release-notes-for-0.44.0.md
+++ b/docs/markdown/Release-notes-for-0.44.0.md
@@ -145,3 +145,9 @@ myprog = find_program('myscript.py')
```
Then Meson will run the script with its internal Python version if necessary.
+
+## Libwmf dependency now supports libwmf-config
+
+Earlier, `dependency('libwmf')` could only detect the library with pkg-config
+files. Now, if pkg-config files are not found, Meson will look for
+`libwmf-config` and if it's found, will use that to find the library.
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index a628151..37195cc 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -517,6 +517,7 @@ class CupsDependency(ExternalDependency):
class LibWmfDependency(ExternalDependency):
+ @FeatureNew('LibWMF Dependency', '0.44.0')
def __init__(self, environment, kwargs):
super().__init__('libwmf', environment, None, kwargs)