Port: Add dummy.c to libcompat
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 28 Sep 2015 14:26:50 +0000 (10:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 13 Oct 2015 20:56:53 +0000 (16:56 -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.024945 seconds and 4 git commands to generate.