summarylogtreecommitdiffstats
path: root/4851d4e20f66f540cd61fb69851df17671fc90d2.patch
blob: 75660036f42a66c5be8b305db35b0d58bd2e0a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 4851d4e20f66f540cd61fb69851df17671fc90d2 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Sat, 11 May 2019 11:18:35 +0200
Subject: [PATCH] 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)
---
 pixman/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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],
-- 
2.24.1