On Sat, Jun 28, 2008 at 01:44:37AM +0200, Quentin Garnier wrote: | I've tracked this down to libiberty, which the tools version of | mdsetimage is linked with. It includes a GNU implementation of getopt, | and apparently the linker on Mac OS X get confused using optind and | optarg from one implementation and getopt from the other (the other | implementation being the libc). Of course that leads to interesting | results. A workaround for this may be to link on OS X using -search_paths_first. I.e., LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
Description: PGP signature