meson: fix joystick header check for jseek example
This commit is contained in:
parent
7b8aa8cf7e
commit
14e02d127a
@ -2,8 +2,10 @@ if gtk_x11_dep.found()
|
|||||||
if cc.compiles('''
|
if cc.compiles('''
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
#include <linux/joystick.h>
|
#include <linux/joystick.h>
|
||||||
struct js_event js;
|
void foo (void) {
|
||||||
js.type = JS_EVENT_AXIS''', name : 'Linux joystick headers needed by jseek example')
|
struct js_event js;
|
||||||
|
js.type = JS_EVENT_AXIS;
|
||||||
|
}''', name : 'Linux joystick headers needed by jseek example')
|
||||||
executable('jsseek', 'jsseek.c',
|
executable('jsseek', 'jsseek.c',
|
||||||
c_args : gst_plugins_base_args,
|
c_args : gst_plugins_base_args,
|
||||||
include_directories: [configinc, libsinc],
|
include_directories: [configinc, libsinc],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user