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!

                        ---Kayvan
-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Attachment: msg40060/pgp00000.pgp
Description: PGP signature

Reply via email to