2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
[deliverable/binutils-gdb.git] / opcodes / Makefile.am
index 1ab8d797a592559244de7e0f2d44f058386946db..f4af1cac6fa44b5854d494dc4f3f105065784195 100644 (file)
@@ -169,8 +169,9 @@ libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
 noinst_LIBRARIES = libopcodes.a
 
 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.022267 seconds and 4 git commands to generate.