diff options
Diffstat (limited to 'opcodes/Makefile.in')
-rw-r--r-- | opcodes/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 23d4178..b0f1ded 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -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 |