Don't hardcode plugin path

Use SPA_PLUGIN_DIR to get the plugin path.
Install plugins in subdirectory to make it match the build tree.
This commit is contained in:
Wim Taymans 2017-06-19 12:19:22 +02:00
parent 763bd1100e
commit 4a6b1b42bc
20 changed files with 84 additions and 36 deletions

View file

@ -6,4 +6,4 @@ testlib = shared_library('spa-test',
dependencies : threads_dep,
link_with : spalib,
install : true,
install_dir : '@0@/spa'.format(get_option('libdir')))
install_dir : '@0@/spa/test'.format(get_option('libdir')))