From daf1cd37a4fc67aa959a575b24470ccdf2da61df Mon Sep 17 00:00:00 2001 From: Christian Cornelssen Date: Mon, 21 May 2018 09:43:20 +0200 Subject: Makefile.in: Use INSTALL_PROGRAM for anything with SOEXT This sets x permissions. Without those, object loaders may complain, as Cygwin does when running testsuite/gna/issue450. --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index a61189dde..70472a05e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -375,7 +375,7 @@ install.libghdlsynth.static: libghdlsynth.a install.libghdlsynth.include $(INSTALL_DATA) -p ghdlsynth.link $(DESTDIR)$(libdir)/ install.libghdlsynth.shared: libghdlsynth$(SOEXT) install.libghdlsynth.include - $(INSTALL_DATA) -p libghdlsynth$(SOEXT) $(DESTDIR)$(libdir)/ + $(INSTALL_PROGRAM) -p libghdlsynth$(SOEXT) $(DESTDIR)$(libdir)/ ################ ghwdump ################################################# @@ -411,13 +411,13 @@ libghdlvpi$(SOEXT): vpi_thunk.o all.vpi: libghdlvpi$(SOEXT) install.vpi: all.vpi install.dirs - $(INSTALL_DATA) -p libghdlvpi$(SOEXT) $(DESTDIR)$(libdir)/ + $(INSTALL_PROGRAM) -p libghdlvpi$(SOEXT) $(DESTDIR)$(libdir)/ $(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h $(DESTDIR)$(incdir)/ install.vpi.local: all.vpi $(MKDIR) -p include lib $(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h include/ - $(INSTALL_DATA) -p libghdlvpi$(SOEXT) lib/ + $(INSTALL_PROGRAM) -p libghdlvpi$(SOEXT) lib/ ################ Libraries ############################################### -- cgit v1.2.3