BundleUtilities: Fix bundle verification on Unix by considering rpaths.

This commit is contained in:
Florian Apolloner authored and Brad King committed 2017-03-10 10:59:16 -05:00
1 parent ac0786cb9a
commit 10fcef0275
1 file changed
+2 -1
+2 -1
View File
@@ -1008,7 +1008,8 @@ function(verify_bundle_prerequisites bundle result_var info_var)
endif()
if(NOT ignoreFile)
get_prerequisites("${f}" prereqs 1 1 "${exepath}" "")
get_item_rpaths(${f} _main_exe_rpaths)
get_prerequisites("${f}" prereqs 1 1 "${exepath}" "${_main_exe_rpaths}")
# On the Mac,
# "embedded" and "system" prerequisites are fine... anything else means