aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-05-26 17:26:06 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-05-26 17:26:06 +0200
commit0eae29e60386d8b004571902ca37f708aab439dd (patch)
treeb301ccad6bafc0c4836c3898027fe70af22668fd
parent8fbbf00f01dcdd920c1737a49ae6749c93d1360c (diff)
downloadlink.lv2-0eae29e60386d8b004571902ca37f708aab439dd.tar.xz
meson: add threads to dependencies.
-rw-r--r--link_wrap.cpp5
-rw-r--r--meson.build4
2 files changed, 3 insertions, 6 deletions
diff --git a/link_wrap.cpp b/link_wrap.cpp
index 619dde2..4f6e6c7 100644
--- a/link_wrap.cpp
+++ b/link_wrap.cpp
@@ -16,11 +16,6 @@
*/
#include <link_wrap.h>
-#include <endian.h>
-
-#ifndef htonll
-# define htonll htobe64
-#endif
#include <ableton/Link.hpp>
using namespace ableton;
diff --git a/meson.build b/meson.build
index b653ae8..c1d2b1c 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,8 @@ cc = meson.get_compiler('c')
m_dep = cc.find_library('m')
lv2_dep = dependency('lv2', version : '>=1.14.0')
+thread_dep = dependency('threads')
+deps = [m_dep, lv2_dep, thread_dep]
inc_dir = [
include_directories('props.lv2'),
@@ -52,7 +54,7 @@ mod = shared_module(srcs,
cpp_args : cpp_args,
include_directories : inc_dir,
name_prefix : '',
- dependencies : [m_dep, lv2_dep],
+ dependencies : deps,
install : true,
install_dir : inst_dir)