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:
parent
77a7e7b81b
commit
52f62f0c14
@ -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"
|
||||||
|
|
||||||
|
@ -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'])
|
||||||
|
Loading…
Reference in New Issue
Block a user