diff --git a/Makefile.in b/Makefile.in index 35ac90e35..aca03a44e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,9 +15,9 @@ run: all PIPEWIRE_MODULE_DIR=@BUILD_ROOT@ \ PATH=@BUILD_ROOT@/src/examples:$(PATH) \ PIPEWIRE_CONFIG_FILE=@BUILD_ROOT@/src/daemon/pipewire-uninstalled.conf \ - PIPEWIRE_CONFIG_DIR=src/daemon/ \ - ACP_PATHS_DIR=spa/plugins/alsa/mixer/paths \ - ACP_PROFILES_DIR=spa/plugins/alsa/mixer/profile-sets \ + PIPEWIRE_CONFIG_DIR=@BUILD_ROOT@/src/daemon/ \ + ACP_PATHS_DIR=@SOURCE_ROOT@/spa/plugins/alsa/mixer/paths \ + ACP_PROFILES_DIR=@SOURCE_ROOT@/spa/plugins/alsa/mixer/profile-sets \ $(DBG) @BUILD_ROOT@/src/daemon/pipewire gdb: diff --git a/meson.build b/meson.build index 0073eb138..ec02ef314 100644 --- a/meson.build +++ b/meson.build @@ -306,6 +306,7 @@ pipewire_inc = include_directories('src') makedata = configuration_data() makedata.set('BUILD_ROOT', meson.build_root()) + makedata.set('SOURCE_ROOT', meson.source_root()) makedata.set('VERSION', pipewire_version) if version_arr.length() == 4 makedata.set('TAG', 'HEAD')