changeset 7264:0711af35cc60

Add support for LDFLAGS of the generated library.
author Bruno Haible <bruno@clisp.org>
date Wed, 06 Sep 2006 12:35:42 +0000
parents 461dfc79ca17
children de7ea6e9d88f
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-05  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_emit_lib_Makefile_am): Initialize also
+	lib_..._LDFLAGS.
+
 2006-09-06  Bruno Haible  <bruno@clisp.org>
 
 	* modules/striconv: New file.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-09-01 15:17:11 $'
+cvsdatestamp='$Date: 2006-09-06 12:35:43 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -1096,6 +1096,7 @@
   echo
   echo "${libname}_${libext}_SOURCES ="
   echo "${libname}_${libext}_LIBADD = @${perhapsLT}LIBOBJS@"
+  echo "${libname}_${libext}_LDFLAGS = \$(AM_LDFLAGS)"
   if test -z "$makefile_name"; then
     echo "noinst_HEADERS ="
     if grep '^pkgdata_DATA *+=' allsnippets.tmp > /dev/null; then