From d08ec09dde93a4eaac287bc85d025569b9dcc6f4 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 29 Jan 2019 17:37:55 +0200 Subject: [PATCH] meson: spa/plugins: use pthread_lib instead of threads_dep no need to refer to the same dependency with 2 different names in the same codebase --- spa/plugins/support/meson.build | 2 +- spa/plugins/test/meson.build | 2 +- spa/plugins/videotestsrc/meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spa/plugins/support/meson.build b/spa/plugins/support/meson.build index d3a877e2a..b322792f3 100644 --- a/spa/plugins/support/meson.build +++ b/spa/plugins/support/meson.build @@ -7,7 +7,7 @@ spa_support_lib = shared_library('spa-support', spa_support_sources, c_args : [ '-D_GNU_SOURCE' ], include_directories : [ spa_inc], - dependencies : threads_dep, + dependencies : pthread_lib, install : true, install_dir : '@0@/spa/support'.format(get_option('libdir'))) diff --git a/spa/plugins/test/meson.build b/spa/plugins/test/meson.build index e9bb1f2b8..852f16d0d 100644 --- a/spa/plugins/test/meson.build +++ b/spa/plugins/test/meson.build @@ -3,6 +3,6 @@ test_sources = ['fakesrc.c', 'fakesink.c', 'plugin.c'] testlib = shared_library('spa-test', test_sources, include_directories : [ spa_inc], - dependencies : threads_dep, + dependencies : pthread_lib, install : true, install_dir : '@0@/spa/test'.format(get_option('libdir'))) diff --git a/spa/plugins/videotestsrc/meson.build b/spa/plugins/videotestsrc/meson.build index cb6652483..cf73f4d09 100644 --- a/spa/plugins/videotestsrc/meson.build +++ b/spa/plugins/videotestsrc/meson.build @@ -3,6 +3,6 @@ videotestsrc_sources = ['videotestsrc.c', 'plugin.c'] videotestsrclib = shared_library('spa-videotestsrc', videotestsrc_sources, include_directories : [ spa_inc], - dependencies : threads_dep, + dependencies : pthread_lib, install : true, install_dir : '@0@/spa/videotestsrc'.format(get_option('libdir')))