This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libbfd.so dependency on libintl


Does anyone see a problem with this patch?  It should only matter when
building a shared libbfd, and only when gettext is not in libc -
e.g. on uClibc targets.

-- 
Daniel Jacobowitz
CodeSourcery

2008-08-12  Daniel Jacobowitz  <dan@codesourcery.com>

	* Makefile.am (libbfd_la_LIBADD, libbfd_la_DEPENDENCIES): Add
	libintl.
	* configure.in: Do not add libintl here.
	* Makefile.in, configure: Regenerated.

Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.214
diff -u -p -r1.214 Makefile.am
--- Makefile.am	4 Aug 2008 06:55:31 -0000	1.214
+++ Makefile.am	12 Aug 2008 21:33:39 -0000
@@ -762,8 +762,8 @@ ofiles: stamp-ofiles ; @true
 # Since BFD64_LIBS is optional and we can't have substitution in
 # libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead.
 libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
-libbfd_la_DEPENDENCIES = $(OFILES) ofiles
-libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
+libbfd_la_DEPENDENCIES = $(OFILES) ofiles $(LIBINTL_DEP)
+libbfd_la_LIBADD = `cat ofiles` $(LIBINTL) @WIN32LIBADD@
 libbfd_la_LDFLAGS = -release `cat libtool-soversion` @WIN32LDFLAGS@
 
 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
Index: configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.241
diff -u -p -r1.241 configure.in
--- configure.in	10 Jul 2008 01:32:22 -0000	1.241
+++ configure.in	12 Aug 2008 21:33:39 -0000
@@ -490,7 +490,7 @@ case "${host}" in
 *-*-cygwin*)
   if test "$enable_shared" = "yes"; then
     WIN32LDFLAGS="-no-undefined"
-    WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
+    WIN32LIBADD="-L`pwd`/../libiberty -liberty -lcygwin -lkernel32"
   fi
   ;;
 *-*-linux*)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]