Make sure libcompat is never empty

This commit is contained in:
Rémi Denis-Courmont 2010-08-01 13:00:56 +03:00
parent a1921136e0
commit f7d33ffa57
2 changed files with 9 additions and 1 deletions

1
compat/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
dummy.c

View File

@ -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