samoht/assemblage — pull request #118 by dsheets (2014-08-28 19:53:19+00:00)
Title: fix ocamlfind query for syntax,preprocessor preds

ocamlfind query with a combined directory and archive format gives wrong answers for syntax extensions which use packages that aren't syntax extensions (like cow). ocamlfind query will not correctly recursively descend and resolve the archive filenames and instead will append archive files for non-syntax packages to the directory of the present library. However, ocamlfind query will correctly return the directories where dependencies can be found and can return the archives listed as dependencies. Now, As_ocamlfind uses the directories as an include path and the archives as relative references. This works correctly if the package being used has all transitively dependent archives in the requires list in a partial order by dependency relation.