Просмотр исходного кода

libcompat: Add a dummy symbol to the empty module

This avoids warnings on systems that do not like a completely empty
object file, or an empty output after the preprocessor has run.
Guillem Jover лет назад: 14
Родитель
Сommit
d721133a38
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      lib/compat/empty.c

+ 1 - 0
lib/compat/empty.c

@@ -1 +1,2 @@
 /* Some implementations of ar cannot create an empty archive. */
+int libdpkg_empty_dummy_symbol;