aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2000-02-27 17:08:06 +0000
committerIan Lance Taylor <ian@airs.com>2000-02-27 17:08:06 +0000
commite56f75e906b0bce15223b64f4b30c96a954d3a47 (patch)
tree1ea1eda4c774e7c32b3760b1caa0cfc2757116ff /bfd/Makefile.in
parenta74801baf8df63929f4ea34ae35a1b72f38b07e9 (diff)
downloadfsf-binutils-gdb-e56f75e906b0bce15223b64f4b30c96a954d3a47.zip
fsf-binutils-gdb-e56f75e906b0bce15223b64f4b30c96a954d3a47.tar.gz
fsf-binutils-gdb-e56f75e906b0bce15223b64f4b30c96a954d3a47.tar.bz2
2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
* Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the name of the libtool directory. * Makefile.in: Rebuild.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 59aebe1..e77637d 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -1023,8 +1023,9 @@ stamp-ofiles: Makefile
ofiles: stamp-ofiles ; @true
stamp-lib: libbfd.la
- if [ -f .libs/libbfd.a ]; then \
- cp .libs/libbfd.a libbfd.tmp; \
+ libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+ if [ -f $$libtooldir/libbfd.a ]; then \
+ cp $$libtooldir/libbfd.a libbfd.tmp; \
$(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
else true; fi
touch stamp-lib