[Top][All Lists]

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

Re: cyclic dependancy

From: Ralf Wildenhues
Subject: Re: cyclic dependancy
Date: Sat, 25 Oct 2008 10:11:02 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Neel,

* Neel Basu wrote on Sat, Oct 25, 2008 at 08:33:20AM CEST:
> <pre>
> cgixx
>       |-- cgi++        .--->   <----.
>       |   `-- jsutil     |--> ------'
>       '-- src     ------'
> </pre>
> libcgixx is the independant one and doesn't need any other libs to be
> compiled but libcgixx-js requirs libcgixx for compilation. But the
> codes written in src directory requires both of them.

> Its not possible to make jsutil on the top level.

> libcgixx-jsutil will be a static librery which will be linked with
> and will be a dynamically loadable librery.
> But libcgixx-jsutil have dependancy for libcgixx.

I'm not sure I understand the problem.  I don't see a cycle anywhere.
In cgixx/, you use
  SUBDIRS = src cgi++

and in src/, you use
  pkglib_LTLIBRARIES =
  libcgixx_js_la_LDFLAGS = -module -avoid-version
  libcgixx_js_la_LIBADD =

and in cgi++/jsutil/, you use
  libcgixx_jsutil_la_LDFLAGS = -static
  libcgixx_jsutil_la_LIBADD = ../../src/

Problem solved?  If not, then please post some build error output.


reply via email to

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