if [ "${file_path}" = '-' ]
then
tr '\n' '\0' \
- | xargs -0 -n1 -P1 -I{} \
+ | xargs -0 -P1 -I{} \
cygpath --unix '{}'
else
cygpath --unix "${file_path}"
| egrep -q '/libatk|/libgdk|/libgtk|/libgio|/libglib|/libgmodule|/libgobject|/libcairo|/libpango|/libfontconfig|/libfreetype'
then
Common::noOp
+ # FreeBSD specific
+ elif echo "${ldd_line}" \
+ | egrep -q '/libc++|/libgxxrt'
+ then
+ Common::noOp
else
echo "${ldd_line}"
fi
}
Multi::cleanUp () {
+ # Remove from bundle things that useless to be distributed,
+ # like headers or static libraries, also remove
+ # empty directories.
find "${bundle_dir}/lib" \
-type f \
-name '*.a' \
find "${bundle_dir}/lib" \
-depth \
-type d \
- -exec rmdir {} \; \
- || true
+ -empty \
+ -exec rmdir {} \;
}
Linux::getRpath () {
-name '*.dll' \
-exec basename {} \; \
| tr '\n' '\0' \
- | xargs -0 -n1 -P1 -I{} \
+ | xargs -0 -P1 -I{} \
printf ' <file name="{}"/>\n'
}