diff --git a/spa/meson.build b/spa/meson.build index 01040122d..47a071e23 100644 --- a/spa/meson.build +++ b/spa/meson.build @@ -30,9 +30,6 @@ if get_option('spa-plugins') avcodec_dep = dependency('libavcodec') avformat_dep = dependency('libavformat') endif - if get_option('v4l2') - v4l2_dep = dependency('libv4l2') - endif subdir('plugins') endif diff --git a/spa/plugins/v4l2/meson.build b/spa/plugins/v4l2/meson.build index 52525eaeb..c80488d7f 100644 --- a/spa/plugins/v4l2/meson.build +++ b/spa/plugins/v4l2/meson.build @@ -6,6 +6,6 @@ v4l2_sources = ['v4l2.c', v4l2lib = shared_library('spa-v4l2', v4l2_sources, include_directories : [ spa_inc ], - dependencies : [ v4l2_dep, libudev_dep ], + dependencies : [ libudev_dep ], install : true, install_dir : '@0@/spa/v4l2'.format(get_option('libdir')))