diff options
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r-- | sim/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am index 64847bc..fb28f98 100644 --- a/sim/Makefile.am +++ b/sim/Makefile.am @@ -214,7 +214,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 |