From: RĂ©mi Denis-Courmont Date: Sun, 1 Aug 2010 10:00:56 +0000 (+0300) Subject: Make sure libcompat is never empty X-Git-Tag: 1.2.0-pre1~5595 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f7d33ffa576f54c2c940f5bd5fe1827ada9a6bd5;p=vlc Make sure libcompat is never empty --- 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