commit a69d6496268f13101eaeebda6452f1bfd2dfec48
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Wed Dec 30 21:44:59 2015 +0100

    Do not setup building of 3rdparty/libiconv
    
    This causes build problems with automake < 1.14 because two files have the 
same name. This only works well when using subdir-objects, which we only do 
after 1.14.
    
    We do not want to build libiconv on target which support autotools anyway, 
but rely on a built-in one.
    
    This fixes building on oldish ubuntu 12.04.

diff --git a/3rdparty/libiconv/Makefile.am b/3rdparty/libiconv/Makefile.am
index 2a516a5..d965f38 100644
--- a/3rdparty/libiconv/Makefile.am
+++ b/3rdparty/libiconv/Makefile.am
@@ -3,7 +3,8 @@ include $(top_srcdir)/config/common.am
 # This is prepared for compilation, but currently only used for packaging,
 # because configure support for compilation is still missing.
 
-noinst_LIBRARIES = liblyxiconv.a
+# We do not build right now
+#noinst_LIBRARIES = liblyxiconv.a
 
 EXTRA_DIST = \
        CMakeLists.txt \
@@ -32,7 +33,11 @@ EXTRA_DIST = \
        1.14/libcharset/lib/ref-add.sin \
        1.14/libcharset/lib/ref-del.sin
 
-liblyxiconv_a_SOURCES = \
+# If/when we decide to build, this will do in liblyxiconv_a_SOURCES
+# But for now it confuses automake < 1.14, where we do not use subdir-objects.
+# The issue here is that there are two relocatable.c files, and they would
+# create the same .o file.
+EXTRA_DIST += \
        1.14/include/export.h \
        1.14/lib/aliases2.h \
        1.14/lib/aliases_aix.h \

Reply via email to