Port: Add dummy.c to libcompat
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 28 Sep 2015 14:26:50 +0000 (10:26 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2015 19:40:28 +0000 (15:40 -0400)
The BSD 'ar' command won't accept an empty file list, add a dummy c file.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
compat/Makefile.am
compat/dummy.c [new file with mode: 0644]

index 85aee86cd6e1e407d0c87e33cc6ef117e50e61b7..b09ebab12f83bb47199927233a00ce5faeea7141 100644 (file)
@@ -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 (file)
index 0000000..d45bf0f
--- /dev/null
@@ -0,0 +1 @@
+/* BSD versions of ar won't accept an empty file list */
This page took 0.034644 seconds and 4 git commands to generate.