diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 20:27:16 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 20:28:14 +0700 |
commit | c95bd9111ee75556a4a6ba51603856cee0afef2b (patch) | |
tree | 59f9ab15bfeae8992dc6e954c92b35faeb696d35 /sim/Makefile.in | |
parent | e5f7bc29350058330fbc3ed4fd0c6135bd892f53 (diff) | |
download | gdb-c95bd9111ee75556a4a6ba51603856cee0afef2b.zip gdb-c95bd9111ee75556a4a6ba51603856cee0afef2b.tar.gz gdb-c95bd9111ee75556a4a6ba51603856cee0afef2b.tar.bz2 |
sim: use libtool to install programs
Now that we use libtool to link, we have to use it to install instead
of keeping the manual logic so we don't install wrapper shell scripts.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r-- | sim/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in index 67ba10c..9df04fe 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -3271,7 +3271,7 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo @SIM_ENABLE_ARCH_erc32_TRUE@sim-%D-install-exec-local: installdirs @SIM_ENABLE_ARCH_erc32_TRUE@ $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(bindir) @SIM_ENABLE_ARCH_erc32_TRUE@ n=`echo sis | sed '$(program_transform_name)'`; \ -@SIM_ENABLE_ARCH_erc32_TRUE@ $(INSTALL_PROGRAM) erc32/sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) +@SIM_ENABLE_ARCH_erc32_TRUE@ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) erc32/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) @SIM_ENABLE_ARCH_erc32_TRUE@sim-erc32-uninstall-local: @SIM_ENABLE_ARCH_erc32_TRUE@ rm -f $(DESTDIR)$(bindir)/sis @@ -3530,7 +3530,8 @@ install-exec-local: installdirs $(SIM_INSTALL_EXEC_LOCAL_DEPS) if [ -e $$d/run$(EXEEXT) ]; then \ n="$$run"; \ [ "$(SIM_PRIMARY_TARGET)" = "$$d" ] || n="$$n-$$d"; \ - $(INSTALL_PROGRAM) $$d/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) || exit 1; \ + $(LIBTOOL) --mode=install \ + $(INSTALL_PROGRAM) $$d/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) || exit 1; \ fi; \ done |