Dynamic linking.. or??

Andrew Markebo flognat@flognat.myip.org
Wed May 23 05:14:00 GMT 2001


/ Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote:
| > | > wants us to include -lXpm, it _doesn't_ link dynamically!!
| > | 
| > | You can send a patch if you have an idea how to do it. :-)  For now 
| > | you must add -lXpm -lXaw -lX11 to llinker
| > 
| > A simple patch, try to change in cygwin.rules.. 
| >   cygwin.rules:#define SharedLibXpm YES
| 
| You need to test first please.  However I do not think it will help
| Because we build a static libXaw.a not libXaw.dll.

I am not 100% sure how it works, doing (in cygwin.rules):

#define SharedLibXpm NO 

doesn't help, but rmoving (commenting out) the line "#define
SharedLibXpm Yes" makes xmkmf add -lXpm in the Makefile

        /Andy



More information about the Cygwin-xfree mailing list