This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: scponly for chrooted sftp server in cygwin
> > [snip]
> > and I really had to specify liberty.a manually in the Makefile:
> >
> > scponly: scponly.o helper.o
> > ${CC} ${CFLAGS} ${DEFS} -o $ <at> scponly.o helper.o
/usr/lib/libiberty.a
>
> FWIW, the "approved" way of doing this is
>
> ${CC} ${CFLAGS} ${DEFS} -o $ <at> scponly.o helper.o -L/usr/lib -liberty
>
> HTH,
> Igor
Thank you Igor!
I was quite sure that my solution was a bit crappy.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/