summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-20 00:25:37 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-20 00:25:37 +0100
commit62ae6dd4fa3eb127554b0a72ea9aebc992463276 (patch)
tree1be026ebab02701071c3f0f6dafffd2a215362e7 /Makefile.am
parent27f7454c3875eadb348dc26bb1a08bd30d12e7b3 (diff)
build-sys: add linkwarning.h to tarball
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 02a1aaef08..c538e7c319 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4341,6 +4341,9 @@ clean-python:
# ------------------------------------------------------------------------------
if ENABLE_COMPAT_LIBS
+EXTRA_DIST += \
+ src/compat-libs/linkwarning.h
+
define generate-fake-lib
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)sed -r -n 's/^ +(sd_.*);/void new_\1(void);\n__asm__(".symver new_\1,\1@LIBSYSTEMD_209");\nstatic void (*resolve_\1(void)) (void) {\n\treturn new_\1;\n}\nvoid \1(void) __attribute__((ifunc("resolve_\1")));\nobsolete_lib(\1,$(notdir $(basename $<)));\n/p' <$< >$@