diff options
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r-- | bfd/Makefile.in | 5 |
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 |