"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Mon, Jul 01, 2002 at 10:00:34AM +0200, Lars Gullik Bjønnes wrote: >> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: >> >> | I still had to add $(FRONTEND_LIBS) to lyx_LDADD and rearrange the order >> | (reverse position of -ljpeg and -lforms) as above to get it to link. >> >> That implies a problem with libtool on cygwin. > | Thank you, Lars, for this message! > | It caused me to look deeper (past my superficial solution). > | Here is the real problem: in frontends/libfrontends.la, the libtool | variable dependency_libs is set to '-ljpeg -lforms -lXpm' > | On Cygwin, the order of the libraries matters. Changing that to | '-lforms -ljpeg -lXpm' gets LyX to link. > | I don't know which file I need to tweak in order to get this change | in properly. You are the autotools expert. Please help!
The order is defined in the configure machinery. I guess it would be pretty easy to change the order to be the correct one, we must change the order of some of the configure tests. [looking]... No, look at line 174 in configure.in, as jou can see there it is easy to change the order. Can you tweak this and sent a patch when you have everything working? -- Lgb