Opened 15 years ago
Last modified 6 years ago
#23040 assigned defect
ocamlmklib doesn't understand -arch
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | pmetzger (Perry E. Metzger) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | achim.passen@…, fh@…, cooljeanius (Eric Gallager) | |
Port: | ocaml |
Description
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
Attachments (2)
Change History (12)
comment:1 Changed 14 years ago by achim.passen@…
Cc: | achim.passen@… added |
---|
Changed 14 years ago by fh@…
Attachment: | Portfile-caml-sqlite3.diff added |
---|
comment:3 Changed 14 years ago by fh@…
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
r76475 only fixed caml-sqlite3. This is a general problem; and in fact the description for this ticket only specifically mentions ocamlimages.
comment:7 Changed 14 years ago by jmroot (Joshua Root)
Fixed camlimages in r77600. I'd suggest doing it this way for all ports that require it, since clearing the archflags as was done for caml-sqlite3 breaks build_arch support entirely.
Changed 13 years ago by fh@…
Attachment: | Portfile-caml-sqlite3.2.diff added |
---|
Better handling of arch flags as suggested by jmr@…
comment:9 Changed 8 years ago by mf2k (Frank Schima)
Owner: | mww@… deleted |
---|---|
Status: | reopened → assigned |
See #53012.
comment:10 Changed 6 years ago by pmetzger (Perry E. Metzger)
Owner: | set to pmetzger |
---|
Note: See
TracTickets for help on using
tickets.
Cc Me!