summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-10-30 09:08:03 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-10-30 09:08:03 -0700
commite6a1de6dd1f2350709cea21fdf2871c11eb60416 (patch)
treed6c7888e3d14b1e1c237852a69b7d509ec0a93f9 /host/lib
parentd80785c0b5844ed9aab6fba6b3087dbf053be242 (diff)
downloaduhd-e6a1de6dd1f2350709cea21fdf2871c11eb60416.tar.gz
uhd-e6a1de6dd1f2350709cea21fdf2871c11eb60416.tar.bz2
uhd-e6a1de6dd1f2350709cea21fdf2871c11eb60416.zip
paths: get_module_paths adds share/uhd/modules to the list of applicable paths
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/utils/paths.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp
index d2686ac64..25cade693 100644
--- a/host/lib/utils/paths.cpp
+++ b/host/lib/utils/paths.cpp
@@ -86,6 +86,7 @@ std::vector<fs::path> get_image_paths(void){
std::vector<fs::path> get_module_paths(void){
std::vector<fs::path> paths = get_env_paths("UHD_MODULE_PATH");
paths.push_back(fs::path(uhd::get_pkg_path()) / UHD_LIB_DIR / "uhd" / "modules");
+ paths.push_back(fs::path(uhd::get_pkg_path()) / "share" / "uhd" / "modules");
return paths;
}