automake
[Top][All Lists]
Advanced

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

Re: Shared Libraries


From: Philip Herron
Subject: Re: Shared Libraries
Date: Wed, 27 Jan 2010 16:22:44 +0000

Hey

Thanks sorry about that feel a bit stupid now, but i didn't know it
was as simple as that i though you needed pkg-config setups to get
correct linking strings. Is it really as simple as
/usr/local/lib/lib<bla>.so link against it with the -l<bla>.

Thanks anyways :)

--Phil

2010/1/27 Peter Johansson <address@hidden>:
> Philip Herron wrote:
>>
>>  or do I have to link directly of
>> this as in ``gcc -o ... /usr/local/lib/libcrules.so''.
>
> Well, if they use Automake they can do
>
> LDADD = -lcrules
>
> or they can append `-lcrules' to $LIBS in configure.ac via, e.g.,
> AC_SEARCH_LIBS.
>
>> I am fairly certain this is a trivial problem but i cant seem to find
>> this in the manual.
>>
>>
>>
>
> please see here:
>
> http://www.gnu.org/software/automake/manual/automake.html#Linking
>
> http://www.network-theory.co.uk/docs/gccintro/gccintro_17.html
>
> Cheers,
> Peter
>
>
> --
> Peter Johansson
>
> svndigest maintainer, http://dev.thep.lu.se/svndigest
> yat maintainer,       http://dev.thep.lu.se/yat
>
>




reply via email to

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