]> Git Repo - binutils.git/blobdiff - opcodes/Makefile.in
2000-02-27 Eli Zaretskii <[email protected]>
[binutils.git] / opcodes / Makefile.in
index 23d4178147c7cbe6b84c48fb59e042ec2888c5a8..b0f1ded162817f9d5d58aa18007ea09d4c3f3bc2 100644 (file)
@@ -676,8 +676,9 @@ disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
        $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
 
 stamp-lib: libopcodes.la
-       if [ -f .libs/libopcodes.a ]; then \
-         cp .libs/libopcodes.a libopcodes.tmp; \
+       libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+       if [ -f $$libtooldir/libopcodes.a ]; then \
+         cp $$libtooldir/libopcodes.a libopcodes.tmp; \
          $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
        else true; fi
        touch stamp-lib
This page took 0.02236 seconds and 4 git commands to generate.