From 52f62f0c14117116179637b75d813861db2a5171 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 25 Nov 2020 23:38:48 +0100 Subject: [PATCH] Possible fix for linking with new libdbus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libdbus_1_la-dbus-sysdeps-pthread.o): in function _dbus_platform_condvar_new': undefined reference to pthread_condattr_setclock’ --- libs/ardouralsautil/request_device.c | 1 + libs/ardouralsautil/wscript | 1 + 2 files changed, 2 insertions(+) diff --git a/libs/ardouralsautil/request_device.c b/libs/ardouralsautil/request_device.c index 94bbbd63ec..4826a46e34 100644 --- a/libs/ardouralsautil/request_device.c +++ b/libs/ardouralsautil/request_device.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "ardouralsautil/reserve.h" diff --git a/libs/ardouralsautil/wscript b/libs/ardouralsautil/wscript index fe53ddbfa5..42c5e8678e 100644 --- a/libs/ardouralsautil/wscript +++ b/libs/ardouralsautil/wscript @@ -45,6 +45,7 @@ def build(bld): 'request_device.c' ] obj.includes = ['.'] + obj.cflags = [ '-pthread' ] obj.target = 'ardour-request-device' obj.uselib = [ 'DBUS' ] obj.install_path = os.path.join(bld.env['LIBDIR'])