aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorTaylor Holberton <tay10r@protonmail.com>2020-02-11 14:03:06 -0500
committerGitHub <noreply@github.com>2020-02-11 14:03:06 -0500
commit5389c1f796ea153232a582bd28e73be43638a124 (patch)
tree21c980b1636350b75d1490bad5b9c62c82318f12 /meson.build
parent80beaac3f4962f528abaa08f067c58183011c93b (diff)
parente7c627dd74f5d43439792491c291564e298cbb10 (diff)
Merge pull request #137 from codeauroraforum/plugin-support
Plugin support
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 8 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index abbca8e..213f8c8 100644
--- a/meson.build
+++ b/meson.build
@@ -4,11 +4,17 @@ project ('tinyalsa', 'c',
tinyalsa_includes = include_directories('.', 'include')
+cc = meson.get_compiler('c')
+
+# Dependency on libdl
+dl_dep = cc.find_library('dl')
+
tinyalsa = library('tinyalsa',
- 'src/mixer.c', 'src/pcm.c',
+ 'src/mixer.c', 'src/pcm.c', 'src/pcm_hw.c', 'src/pcm_plugin.c', 'src/snd_card_plugin.c', 'src/mixer_hw.c', 'src/mixer_plugin.c',
include_directories: tinyalsa_includes,
version: meson.project_version(),
- install: true)
+ install: true,
+ dependencies: dl_dep)
# For use as a Meson subproject
tinyalsa_dep = declare_dependency(link_with: tinyalsa,