scponly for chrooted sftp server in cygwin

Christian Weinberger christian.weinberger@directbox.com
Mon Feb 14 18:38:00 GMT 2005


> > [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/



More information about the Cygwin mailing list