Thomas H.P. Andersen <phomes@gmail.com> wrote:
> Does -lresolv belong in libsystemd_la_CFLAGS? I would have thought
> that it should be in LIBADD for the lib and LDADD for the test.
libsystemd_la_LIBADD = \
libsystemd-daemon-internal.la \
- libsystemd-shared.la
+ libsystemd-shared.la \
+ -lresolv
libsystemd_la_CFLAGS = \
$(AM_CFLAGS) \
- -pthread \
- -lresolv
+ -pthread
libsystemd_la_LDFLAGS = \
$(AM_LDFLAGS) \
test_resolve_LDADD = \
libsystemd-internal.la \
- libsystemd-shared.la
+ libsystemd-shared.la \
+ -lresolv
test_resolve_CFLAGS = \
$(AM_CFLAGS) \