summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 03:26:41 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 03:26:41 -0400
commit826cd8f58443fc86d3ea61a4e49d29ee7abb8b1c (patch)
tree7937887cb81b197bdedb404534e6760537059607 /src/libsystemd
parent590eca26c13f4d704b2fc614e7ef49b600e6b5e0 (diff)
f
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/libsystemd-internal/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsystemd/libsystemd-internal/Makefile b/src/libsystemd/libsystemd-internal/Makefile
index d71aa9416d..5608b561f6 100644
--- a/src/libsystemd/libsystemd-internal/Makefile
+++ b/src/libsystemd/libsystemd-internal/Makefile
@@ -112,7 +112,7 @@ libsystemd_internal_la_SOURCES = \
src/libsystemd/sd-resolve/sd-resolve.c
libsystemd_internal_la_LIBADD = \
- $(topoutdir)/src/libbasic/libbasic.la \
+ libbasic.la \
-lresolv
noinst_LTLIBRARIES += \
@@ -250,7 +250,8 @@ test_resolve_LDADD = \
at.subdirs += $(notdir $(patsubst %/,%,$(dir $(call automake_sources,libsystemd-internal.la))))
at.depdirs += $(topoutdir)/src/libbasic
-
+$(outdir)/libsystemd-internal.la: $(patsubst src/libsystemd/%,$(srcdir)/%,$(filter %.c,$(libsystemd_internal_la_SOURCES)))
+libsystemd_internal_la_SOURCES =
systemd.CPPFLAGS += $(libsystemd.CPPFLAGS)
systemd.CPPFLAGS += $(libbasic.CPPFLAGS)
systemd.CPPFLAGS += $(libshared.CPPFLAGS)