summaryrefslogtreecommitdiff
path: root/src/systemd-nspawn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-nspawn/Makefile')
-rw-r--r--src/systemd-nspawn/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/systemd-nspawn/Makefile b/src/systemd-nspawn/Makefile
index db287fb926..380266ea7f 100644
--- a/src/systemd-nspawn/Makefile
+++ b/src/systemd-nspawn/Makefile
@@ -67,11 +67,8 @@ systemd_nspawn_LDADD += \
endif # HAVE_LIBIPTC
bin_PROGRAMS += systemd-nspawn
-at.depdirs += $(topoutdir)/src/libshared $(if $(HAVE_LIBIPTC),$(topoutdir)/src/libfirewall)
-systemd.CPPFLAGS += $(libshared.CPPFLAGS) $(if $(HAVE_LIBIPTC),$(libfirewall.CPPFLAGS))
-
-systemd.CPPFLAGS += $(libbasic.CPPFLAGS)
-systemd.CPPFLAGS += $(libsystemd.CPPFLAGS)
+systemd_nspawn_LDADD += libsystemd.la # was hidden by libshared->libsystemd
+systemd_nspawn_LDADD += libbasic.la # was hidden by libshared->libsystemd->libbasic
systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus
systemd.CPPFLAGS += -I$(topsrcdir)/src/libudev/src