automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LDFLAGS problem when doing "make distcheck"


From: Tom Tromey
Subject: Re: LDFLAGS problem when doing "make distcheck"
Date: 12 Jul 2002 10:38:40 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "Stephen" == Stephen Torri <address@hidden> writes:

Stephen> I have my LDFLAGS variable set for a program as:
Stephen> address@hidden@/src -lnestORB

Use -L$(top_builddir)/src instead.
top_srcdir points to the source tree, not the build tree.
If the user doesn't configure in srcdir then the library won't be there.

Stephen> "make distcheck" ../../src => (full)
Stephen> /home/torri/src/nestORB/nestORB-0.51/src

`distcheck' does a build where srcdir != builddir.  This is done
precisely to catch problems like the one above.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]