[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any way to specify path for *.la files?
From: |
J.T. Conklin |
Subject: |
Re: Any way to specify path for *.la files? |
Date: |
Mon, 18 Oct 2004 17:50:36 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix) |
Bob Friesenhahn <address@hidden> writes:
>> Can you see what I'm doing wrong from the above Makefile.am snippet?
>
> Yes. The path to the LIBADD .la files must be complete. This aspect
> does not use -L options to search for .la files. Automake takes care
> of this part. The -L options are normally used to look for installed
> libraries referenced like -lTAO. So perhaps
>
> libTAO_CosNaming_la_LIBADD = \
> $(TAO_BUILDDIR)/tao/libTAO.la \
> $(ACE_BUILDDIR)/ace/libACE.la
>
> will work better. I am not sure if Automake allows this part to refer
> to variables yet though (try it and see).
Thanks Bob,
That works fine. I've been doing it that way, but was hoping there
was a way to avoid the directory prefix by using -L's.
--jtc
--
J.T. Conklin