This is a quick workaround to fix unresolved 2nd and deeper level libraries.
Also add a test to check wrong dependencies.
Libraries from brew has library paths starting @@HOMEBREW_CELLAR@@ because I didn't use the right install flow. It causes the libraries not correctly bundled to the package.
Better solution might be using the proper install flow by just modifying the architecture detection in the brew.
How Has This Been Tested?
[ ] Check otool -L for each bundled dylib file.
General checklist
[ ] The commit is reviewed by yourself.
[ ] The code is tested.
[ ] Document is up to date or not necessary to be changed.
[ ] The commit is compatible with repository's license.
Description
This is a quick workaround to fix unresolved 2nd and deeper level libraries.
Also add a test to check wrong dependencies.
Libraries from brew has library paths starting
@@HOMEBREW_CELLAR@@
because I didn't use the right install flow. It causes the libraries not correctly bundled to the package.Better solution might be using the proper install flow by just modifying the architecture detection in the brew.
How Has This Been Tested?
otool -L
for each bundled dylib file.General checklist