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

@ -8,4 +8,4 @@ spa_support_lib = shared_library('spa-support',
include_directories : [ spa_inc, spa_libinc],
dependencies : threads_dep,
install : true,
install_dir : '@0@/spa'.format(get_option('libdir')))
install_dir : '@0@/spa/support'.format(get_option('libdir')))