BundleUtilities doesn't verify bundles using `..` in rpaths
An application with an rpath entry of $ORIGIN/../lib
will fail to verify because ldd
doesn't collapse paths in its output. It will show /path/to/app/bin/../lib/libfoo
. This ends up failing detection later because the ..
messes up the string comparisons later in the verification logic.
Trying to do this in get_prerequisites
now as a simple fix:
set(item "${raw_item}")
+ if (IS_ABSOLUTE "${item}")
+ get_filename_component(item "${item}" ABSOLUTE)
+ endif ()