auriamg / macdylibbundler

Utility to ease bundling libraries into executables for OSX
MIT License
550 stars 83 forks source link

Not Skipping Request for Library Location Request When the Prefix is Suposed to be Ignored #27

Closed jlsantiago0 closed 6 years ago

jlsantiago0 commented 6 years ago

Running the tool as follows for instance on a linux system where the /usr/lib/libSystem.B.dylib does not exist :

dylibbundler \
   --fix-file <path-to>/SomeProj.app/Contents/MacOS/SomeProj \
   --dest-dir <path-to>/SomeProj.app/Contents/MacOS/lib \
   --bundle-deps --install-path '@executable_path/../lib' \
   --overwrite-dir --create-dir \
   --ignore /usr/lib

The tool fails to ignore a dependency of /usr/lib/libSystem.B.dylib refuses to update the bundle dependencies. I will follow shortly with a pull request to fix this issue.