summaryrefslogtreecommitdiff
path: root/libobj
diff options
context:
space:
mode:
Diffstat (limited to 'libobj')
-rw-r--r--libobj/Makefile.am3
-rw-r--r--libobj/ignore.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/libobj/Makefile.am b/libobj/Makefile.am
new file mode 100644
index 00000000..92c9ac55
--- /dev/null
+++ b/libobj/Makefile.am
@@ -0,0 +1,3 @@
+noinst_LTLIBRARIES = libcompat.la
+libcompat_la_SOURCES = ignore.c # for portability, always build something
+libcompat_la_LIBADD = $(LIBOBJS) $(ALLOCA)
diff --git a/libobj/ignore.c b/libobj/ignore.c
new file mode 100644
index 00000000..3c56f2fe
--- /dev/null
+++ b/libobj/ignore.c
@@ -0,0 +1,6 @@
+extern void ignore(void);
+
+void ignore(void)
+{
+ /* libcompat.a cannot be empty therefore I exist */
+}