[PATCH weston v2 4/4] weston.pc: Provide moduledir

sardemff7+wayland at sardemff7.net sardemff7+wayland at sardemff7.net
Tue Jun 11 00:39:50 PDT 2013


On 10/06/2013 18:23, Othman, Ossama wrote:
> Hi,
>
> --- a/src/Makefile.am
>> +++ b/src/Makefile.am
>> @@ -94,7 +94,6 @@ westoninclude_HEADERS =                               \
>>          ../shared/matrix.h                      \
>>          ../shared/config-parser.h
>>
>> -moduledir = $(libdir)/weston
>>   module_LTLIBRARIES =                           \
>>
>
> On a related note, any idea why Weston doesn't use Automake's pkglib
> prefix?  The corresponding pkglibdir variable ends up having the same
> value.  Is it just a convention/clarity thing?  I realize Autoconf doesn't
> support pkglibdir without help.

The point of having moduledir is that we may use e.g. 
$(pkglibdir)/modules if weston shipped a real package-wide libraries.
libtoytoolkit and libshared would be in $(pkglib) if they were not 
static libraries (and having them static is good enough since they have 
only a few installed customers each).

But in this regard, we may set moduledir to $(pkglibdir) for now, or 
directly to $(pkglibdir)/modules.

I will send a patch or two on this directories’ thing.

Thanks for the comment.

-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list