darwin has /usr/lib/libiconv.dylib with _iconv_open, but LDFLAGS include -L/usr/local/lib/ which picks up the wrong (or right) /usr/local/lib/libiconv.dylib with _libiconv_open.
So LDFLAGS=-liconv is not enough, forcing the path would fix that. In CLISP facing the same problem we expanded the path.
I just added $(LDFLAGS) to dino_LDFLAGS and libdino_la_LDFLAGS, so I can override LDFLAGS on the command line.
darwin has
/usr/lib/libiconv.dylib
with_iconv_open
, but LDFLAGS include-L/usr/local/lib/
which picks up the wrong (or right)/usr/local/lib/libiconv.dylib
with_libiconv_open
.So
LDFLAGS=-liconv
is not enough, forcing the path would fix that. In CLISP facing the same problem we expanded the path.I just added
$(LDFLAGS)
to dino_LDFLAGS and libdino_la_LDFLAGS, so I can override LDFLAGS on the command line.