diff options
author | Alexis Jeandet <alexis.jeandet@member.fsf.org> | 2018-03-31 10:38:09 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-31 11:38:09 +0300 |
commit | 16c4a3b4f8bfb353603bca72c20484ecbcb134e6 (patch) | |
tree | f21714da3c981d23a25764a06f9db72bf629a340 | |
parent | 0325d58863f05ac8910bce87fc947fdca113110e (diff) | |
download | meson-16c4a3b4f8bfb353603bca72c20484ecbcb134e6.zip meson-16c4a3b4f8bfb353603bca72c20484ecbcb134e6.tar.gz meson-16c4a3b4f8bfb353603bca72c20484ecbcb134e6.tar.bz2 |
Added link to documentation and examples for find_library replacement (#3346)
-rw-r--r-- | mesonbuild/interpreter.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 7dbf1cc..55320d0 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2311,7 +2311,10 @@ to directly access options of other subprojects.''') return progobj def func_find_library(self, node, args, kwargs): - raise InvalidCode('find_library() is removed, use the corresponding method in a compiler object instead.') + raise InvalidCode('find_library() is removed, use meson.get_compiler(\'name\').find_library() instead.\n' + 'Look here for documentation: http://mesonbuild.com/Reference-manual.html#compiler-object\n' + 'Look here for example: http://mesonbuild.com/howtox.html#add-math-library-lm-portably\n' + ) def _find_cached_dep(self, name, kwargs): # Check if we want this as a cross-dep or a native-dep |