Hello,

* [EMAIL PROTECTED] wrote on Fri, Dec 08, 2006 at 11:04:11PM CET:
> I am having a problem building my project with distcheck. Here is the
> structure of my project:

> Similarly the util/Makefile had LDFLAGS to point to $(top_builddir)/lib
> folder which gets created along with include when the library is
> installed. The distcheck stops with following errors:
> ../libtool: line 1657: cd: ../lib: No such file or directory
> libtool: link: cannot determine absolute directory name of `../lib'
> make[3]: *** [util] Error 1

If you use libtool, then you should reference uninstalled libraries like
this:
  foo_LDADD = ../lib/libbar.la
  libbaz_la_LIBADDD = ../another/dir/libork.la

Libtool will then do the right thing with these libraries.

Hope that helps.

Cheers,
Ralf


_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to