[PATCH weston 2/2] Makefile.am: Link modules to libweston.la

Jan Engelhardt jengelh at inai.de
Mon Nov 21 11:07:43 UTC 2016


On Monday 2016-11-21 12:00, Daniel Stone wrote:
>On 18 August 2016 at 10:15, Quentin Glidic
><sardemff7+wayland at sardemff7.net> wrote:
>> @@ -116,7 +116,9 @@ libweston_ at LIBWESTON_MAJOR@_la_SOURCES =                    \
>>  lib_LTLIBRARIES += libweston-desktop- at LIBWESTON_MAJOR@.la
>>  libweston_desktop_ at LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS) -DIN_WESTON
>>  libweston_desktop_ at LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS)
>> -libweston_desktop_ at LIBWESTON_MAJOR@_la_LIBADD = libweston- at LIBWESTON_MAJOR@.la $(COMPOSITOR_LIBS)
>> +libweston_desktop_ at LIBWESTON_MAJOR@_la_LIBADD =                \
>> +       libweston- at LIBWESTON_MAJOR@.la                  \
>> +       $(COMPOSITOR_LIBS)
>>  libweston_desktop_ at LIBWESTON_MAJOR@_la_LDFLAGS = -version-info $(LT_VERSION_INFO)
>
>COMPOSITOR_LIBS is full of -Lfoo -lsyslib. To the best of my
>knowledge, these belong in LDADD

Negative. _LDADD is ignored for library type outputs, and _LIBADD
is ignored for program type outputs.

Everything is correct here..


More information about the wayland-devel mailing list