aboutsummaryrefslogtreecommitdiff
path: root/audio/libaudec/files/patch-meson.build
blob: 3efa8a6de476d81cda1aabcb0078fb3346e85903 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- meson.build.orig	2020-05-16 11:50:13 UTC
+++ meson.build
@@ -177,7 +177,7 @@ config_h_dep = declare_dependency (
   )
 audec_deps += config_h_dep
 
-audec = static_library (
+audec = shared_library (
   'audec',
   sources: srcs,
   dependencies: [
@@ -212,7 +212,9 @@ audec_exe = executable (
   install: not meson.is_subproject(),
   )
 
-subdir('tests')
+if get_variable('build-tests', true)
+	subdir('tests')
+endif
 
 summary = [
   '',