Thanks Peter! That works for me.
On Thu, Mar 13, 2014 at 7:48 PM, Peter Maydell <peter.mayd...@linaro.org>wrote: > On 13 March 2014 18:42, Christian Mahnke <cmah...@googlemail.com> wrote: > > On Thu, Mar 13, 2014 at 7:35 PM, Peter Maydell <peter.mayd...@linaro.org > > > > wrote: > >> I have a feeling I know what may be happening here. > >> > >> -L/opt/local/lib > >> -Wl,-headerpad_max_install_names -arch -lcurl -lssh2 -lz x86_64 > >> > >> is I think the result of doing an alphabetical sort on > >> the curl and ssh libraries, which is what rules.mak's > >> extract-libs = $(strip $(sort $(foreach o,$1,$($o-libs)) \ > >> $(foreach o,$(call expand-objs,$1),$($o-libs)))) > >> > >> does. Can you send us your config-host.mak, please? > > Yep, here we are: > LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names > -arch x86_64 > CURL_LIBS=-L/opt/local/lib -lcurl > > rules.mak is incorrectly reordering the contents of > these and generating a non-working mess. > > You should be able to work around this by passing configure > --disable-libssh2 > (this will disable ssh block device support, which you probably > don't need, and will mean we don't give the compiler bogus > arguments). > > thanks > -- PMM >