diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-01-11 16:56:56 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-01-11 18:46:53 +0100 |
commit | 72f45c65eafa482faa40631cc68676dee1ff07b9 (patch) | |
tree | 9eb087fe892a957f04b33fd9f86046a9fe9cb567 /scripts | |
parent | 6f34bffe877e061ad0ca4f70335e0b202b09045e (diff) | |
download | ptxdist-72f45c65eafa482faa40631cc68676dee1ff07b9.tar.gz ptxdist-72f45c65eafa482faa40631cc68676dee1ff07b9.tar.xz |
ptxd_install_lib: skip debug files when searching for the library
Such files may be created, e.g. by qmake if 'separate_debug_info' is
enabled.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 6d26be0a1..8ebeba9c7 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -824,7 +824,7 @@ ptxd_install_lib() { fi local file="$(for dir in "${pkg_pkg_dir}"${root_dir}{/,/usr/}${lib_dir}; do - find "${dir}" -type f -path "${dir}/${lib}.so*"; done 2>/dev/null)" + find "${dir}" -type f -path "${dir}/${lib}.so*" ! -name "*.debug"; done 2>/dev/null)" if [ ! -f "${file}" ]; then ptxd_install_error "ptxd_lib_install: cannot find library '${lib}'!" |