summaryrefslogtreecommitdiff
path: root/src/libsystemd/libsystemd-internal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/libsystemd-internal/Makefile')
-rw-r--r--src/libsystemd/libsystemd-internal/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/libsystemd-internal/Makefile b/src/libsystemd/libsystemd-internal/Makefile
index 3d65f0ea11..fa95e07d76 100644
--- a/src/libsystemd/libsystemd-internal/Makefile
+++ b/src/libsystemd/libsystemd-internal/Makefile
@@ -122,7 +122,7 @@ noinst_LTLIBRARIES += \
automake_sources = $(patsubst src/libsystemd/%,$(outdir)/%,$(filter %.c,$($(automake_name)_SOURCES) $(nodist_$(automake_name)_SOURCES)))
$(eval $(value automake2autothing))
-_subdirs := $(patsubst %/,%,$(dir $(call automake_sources,libsystemd-internal.la)))
+_subdirs := $(notdir $(patsubst %/,%,$(dir $(call automake_sources,libsystemd-internal.la))))
automake_sources = $(addprefix $(outdir)/,$(notdir $($(automake_name)_SOURCES) $(nodist_$(automake_name)_SOURCES)))
at.subdirs += $(_subdirs)