This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]