diff options
author | Ian Lance Taylor <ian@airs.com> | 2000-02-27 17:08:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2000-02-27 17:08:06 +0000 |
commit | e56f75e906b0bce15223b64f4b30c96a954d3a47 (patch) | |
tree | 1ea1eda4c774e7c32b3760b1caa0cfc2757116ff /opcodes/Makefile.am | |
parent | a74801baf8df63929f4ea34ae35a1b72f38b07e9 (diff) | |
download | gdb-e56f75e906b0bce15223b64f4b30c96a954d3a47.zip gdb-e56f75e906b0bce15223b64f4b30c96a954d3a47.tar.gz 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 'opcodes/Makefile.am')
-rw-r--r-- | opcodes/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 1ab8d79..f4af1ca 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -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 |