]> git.lyx.org Git - lyx.git/commitdiff
Do not setup building of 3rdparty/libiconv
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 30 Dec 2015 20:44:59 +0000 (21:44 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 1 Jan 2016 17:44:18 +0000 (18:44 +0100)
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.

3rdparty/libiconv/Makefile.am

index 2a516a57e975e7a0bb1ce3c51f0d1ea0bd7c6bce..d965f380f1335dfcc67ea382406efd38f3e773b9 100644 (file)
@@ -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 \