summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-05-11 11:18:35 +0200
committerMatt Turner <mattst88@gmail.com>2019-06-10 16:38:39 +0000
commit4851d4e20f66f540cd61fb69851df17671fc90d2 (patch)
treec10334d15025d288bc5103e2d8b2128c56dede37
parentbe0d3e699401f8230fa88c28c52d73c57f13f327 (diff)
meson: allow building a static library
So that passing "-Ddefault_library=both" also creates a static lib. Note that Libs.private in the .pc file will still be wrong because of https://github.com/mesonbuild/meson/issues/3934 (it contains things like -lpixman-mmx)
-rw-r--r--pixman/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/meson.build b/pixman/meson.build
index 6ce87e7..7b66827 100644
--- a/pixman/meson.build
+++ b/pixman/meson.build
@@ -97,7 +97,7 @@ pixman_files = files(
'pixman-utils.c',
)
-libpixman = shared_library(
+libpixman = library(
'pixman-1',
[pixman_files, config_h, version_h],
link_with : [pixman_simd_libs],