From: Michael Jeanson Date: Mon, 28 Sep 2015 14:26:50 +0000 (-0400) Subject: Port: Add dummy.c to libcompat X-Git-Tag: v1.3.0~28 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=1cc40eab97b5b1a9a06ad58c19f381f2c798fbc0 Port: Add dummy.c to libcompat The BSD 'ar' command won't accept an empty file list, add a dummy c file. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/compat/Makefile.am b/compat/Makefile.am index 85aee86c..b09ebab1 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -2,7 +2,7 @@ AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include noinst_LTLIBRARIES = libcompat.la -libcompat_la_SOURCES = +libcompat_la_SOURCES = dummy.c libcompat_la_LDFLAGS = \ -Wl,--no-as-needed diff --git a/compat/dummy.c b/compat/dummy.c new file mode 100644 index 00000000..d45bf0fd --- /dev/null +++ b/compat/dummy.c @@ -0,0 +1 @@ +/* BSD versions of ar won't accept an empty file list */