From 1cc40eab97b5b1a9a06ad58c19f381f2c798fbc0 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 28 Sep 2015 10:26:50 -0400 Subject: [PATCH] Port: Add dummy.c to libcompat MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- compat/Makefile.am | 2 +- compat/dummy.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 compat/dummy.c 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 */ -- 2.34.1