[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distcheck problem
From: |
Ralf Wildenhues |
Subject: |
Re: distcheck problem |
Date: |
Sat, 9 Dec 2006 11:06:03 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello,
* ayaz.ali@gmail.com 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