+2005-02-13 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (libasprintf.la): New rule. Needed for BeOS.
+
2005-02-12 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (install): Update for 2004-01-18 change.
## Makefile for the gettext-runtime/libasprintf subdirectory of GNU gettext
-## Copyright (C) 2002-2004 Free Software Foundation, Inc.
+## Copyright (C) 2002-2005 Free Software Foundation, Inc.
##
## This program is free software; you can redistribute it and/or modify it
## under the terms of the GNU Library General Public License as published
EXTRA_DIST += $(lib_asprintf_EXTRASOURCES)
+# How to build libasprintf.
+# With libtool 1.5.14, on some platforms, like BeOS, "libtool --tag=CXX" fails
+# to create a shared library, however "libtool --tag=CC" succeeds.
+libasprintf.la: $(libasprintf_la_OBJECTS) $(libasprintf_la_DEPENDENCIES)
+ $(CXXLINK) -rpath $(libdir) $(libasprintf_la_LDFLAGS) $(libasprintf_la_OBJECTS) $(libasprintf_la_LIBADD) $(LIBS) || \
+ $(LINK) -rpath $(libdir) $(libasprintf_la_LDFLAGS) $(libasprintf_la_OBJECTS) $(libasprintf_la_LIBADD) $(LIBS)
+
+
# >>> gnulib module alloca.
EXTRA_DIST += alloca_.h