add a missing load command

This commit is contained in:
Jude Taylor 2016-08-14 18:54:40 -07:00
parent 5b01f5cbb2
commit f37b6fd07e

View file

@ -95,6 +95,7 @@ std::set<std::string> runResolver(const Path & filename) {
fread(&cmd.cmdsize, sizeof(uint32_t), 1, obj_file); fread(&cmd.cmdsize, sizeof(uint32_t), 1, obj_file);
switch(cmd.cmd) { switch(cmd.cmd) {
case LC_LOAD_DYLIB: case LC_LOAD_DYLIB:
case LC_LOAD_UPWARD_DYLIB:
case LC_REEXPORT_DYLIB: case LC_REEXPORT_DYLIB:
libs.insert(find_dylib_name(obj_file, cmd)); libs.insert(find_dylib_name(obj_file, cmd));
break; break;