From f7d33ffa576f54c2c940f5bd5fe1827ada9a6bd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 1 Aug 2010 13:00:56 +0300 Subject: [PATCH] Make sure libcompat is never empty --- compat/.gitignore | 1 + compat/Makefile.am | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 compat/.gitignore diff --git a/compat/.gitignore b/compat/.gitignore new file mode 100644 index 0000000000..1684c26dfb --- /dev/null +++ b/compat/.gitignore @@ -0,0 +1 @@ +dummy.c diff --git a/compat/Makefile.am b/compat/Makefile.am index 225ce39aeb..5f0439bdee 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -1,4 +1,11 @@ noinst_LTLIBRARIES = libcompat.la -libcompat_la_SOURCES = +libcompat_la_SOURCES = dummy.c libcompat_la_LIBADD = $(LTLIBOBJS) libcompat_la_LDFLAGS = -no-undefined + +BUILT_SOURCES = dummy.c +CLEANFILES = dummy.c + +dummy.c: + rm -f dummy.c + echo '/* Automatically generated */' > dummy.c -- 2.39.2