summaryrefslogtreecommitdiff
path: root/src/grp-machine/nss-mymachines/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-machine/nss-mymachines/Makefile')
-rw-r--r--src/grp-machine/nss-mymachines/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/grp-machine/nss-mymachines/Makefile b/src/grp-machine/nss-mymachines/Makefile
index 74871c8446..fa281407fb 100644
--- a/src/grp-machine/nss-mymachines/Makefile
+++ b/src/grp-machine/nss-mymachines/Makefile
@@ -35,7 +35,7 @@ libnss_mymachines_la_LDFLAGS = \
-avoid-version \
-shared \
-shrext .so.2 \
- -Wl,--version-script=$(top_srcdir)/src/nss-mymachines/nss-mymachines.sym
+ -Wl,--version-script=$(srcdir)/nss-mymachines.sym
libnss_mymachines_la_LIBADD = \
libsystemd-internal.la
@@ -43,4 +43,8 @@ libnss_mymachines_la_LIBADD = \
lib_LTLIBRARIES += \
libnss_mymachines.la
+at.depdirs += $(topoutdir)/src/libsystemd/libsystemd-internal
+systemd.CPPFLAGS += $(libbasic.CPPFLAGS)
+systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus
+
include $(topsrcdir)/build-aux/Makefile.tail.mk