diff options
author | Niklas Claesson <nicke.claesson@gmail.com> | 2019-03-11 19:56:52 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-03-11 20:56:52 +0200 |
commit | dd2c44cdf6f8ed8a969d0666cafb08aaf78a919d (patch) | |
tree | a6057cb899b43c55a820291c93dd62d61e2e0a69 /mesonbuild/dependencies/base.py | |
parent | faf3581df6af59c04e66378da129bb2039beab8a (diff) | |
download | meson-dd2c44cdf6f8ed8a969d0666cafb08aaf78a919d.zip meson-dd2c44cdf6f8ed8a969d0666cafb08aaf78a919d.tar.gz meson-dd2c44cdf6f8ed8a969d0666cafb08aaf78a919d.tar.bz2 |
Add static as keyword to find_library
Diffstat (limited to 'mesonbuild/dependencies/base.py')
-rw-r--r-- | mesonbuild/dependencies/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py index 3c105ab..2ba150b 100644 --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -703,7 +703,7 @@ class PkgConfigDependency(ExternalDependency): libs_found = OrderedSet() # Track not-found libraries to know whether to add library paths libs_notfound = [] - libtype = 'static' if self.static else 'default' + libtype = 'static' if self.static else 'shared-static' # Generate link arguments for this library link_args = [] for lib in full_args: |