summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 8e9dbd71..0f706c64 100644
--- a/meson.build
+++ b/meson.build
@@ -363,8 +363,8 @@ libalpm_a = static_library(
link_with : [libcommon],
install : true)
-if not get_option('buildstatic')
- libalpm = shared_library(
+if get_option('default_library') != 'static'
+ libalpm = library(
'alpm',
version : libalpm_version,
link_whole: [libalpm_a],