#23040: ocamlmklib doesn't understand -arch -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ocaml -----------------------------------+---------------------------------------- Building ocamlimages, we execute ocamlmklib from ocaml which doesn't understand our LDFLAGS (including -arch) {{{ ocamlmklib -oc ci_jpeg -L/opt/local/lib -arch x86_64 jpegread.o jpegwrite.o -ljpeg Unknown option -arch Don't know what to do with x86_64 Usage: ocamlmklib [options] <.cmo|.cma|.cmx|.cmxa|.ml|.mli|.o|.a|.obj|.lib|.dll files> Options are: -cclib <lib> C library passed to ocamlc -a or ocamlopt -a only -ccopt <opt> C option passed to ocamlc -a or ocamlopt -a only }}} -- Ticket URL: <http://trac.macports.org/ticket/23040> MacPorts <http://www.macports.org/> Ports system for Mac OS