13
0

Possible fix for linking with new libdbus

libdbus_1_la-dbus-sysdeps-pthread.o): in function _dbus_platform_condvar_new':
undefined reference to pthread_condattr_setclock’
This commit is contained in:
Robin Gareus 2020-11-25 23:38:48 +01:00
parent 77a7e7b81b
commit 52f62f0c14
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <pthread.h>
#include "ardouralsautil/reserve.h" #include "ardouralsautil/reserve.h"

View File

@ -45,6 +45,7 @@ def build(bld):
'request_device.c' 'request_device.c'
] ]
obj.includes = ['.'] obj.includes = ['.']
obj.cflags = [ '-pthread' ]
obj.target = 'ardour-request-device' obj.target = 'ardour-request-device'
obj.uselib = [ 'DBUS' ] obj.uselib = [ 'DBUS' ]
obj.install_path = os.path.join(bld.env['LIBDIR']) obj.install_path = os.path.join(bld.env['LIBDIR'])