The following commit has been merged in the master branch:
commit c9cf7b1d4178f8e293a02edfc7ca2252d41da81e
Author: Guillem Jover <[email protected]>
Date:   Mon Oct 19 13:06:42 2009 +0200

    libcompat: Always add an empty file to the libcompat static library
    
    Some ar implementations do not support creating empty archives, so we
    add a dummy empty object to avoid any problem.

diff --git a/lib/compat/Makefile.am b/lib/compat/Makefile.am
index 85bd4c1..a0b3b47 100644
--- a/lib/compat/Makefile.am
+++ b/lib/compat/Makefile.am
@@ -8,6 +8,7 @@ AM_CPPFLAGS = \
 noinst_LIBRARIES = libcompat.a
 
 libcompat_a_SOURCES = \
+       empty.c \
        compat.h \
        gettext.h
 
diff --git a/lib/compat/empty.c b/lib/compat/empty.c
new file mode 100644
index 0000000..ef172ce
--- /dev/null
+++ b/lib/compat/empty.c
@@ -0,0 +1 @@
+/* Some implementations of ar cannot create an empty archive. */

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to