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

@ -10,4 +10,4 @@ spa_alsa = shared_library('spa-alsa',
dependencies : [ alsa_dep, libudev_dep ],
link_with : spalib,
install : true,
install_dir : '@0@/spa'.format(get_option('libdir')))
install_dir : '@0@/spa/alsa'.format(get_option('libdir')))