install: Fix installation of shared libraries with links
When we generate multiple files, install the correct one first before linking. Otherwise, the final install step is confused and one of the files ends up missing (overwritten). Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
parent
13fa0221bb
commit
69cfe50e48
|
@ -180,7 +180,9 @@ LINK.dll= $(LD) -shared $(MIQ_LINKARGS) $(MIQ_LDFLAGS) \
|
|||
-o $(OUTPUT)$(MIQ_DLLNAME) \
|
||||
$(MIQ_SONAME_OPT) \
|
||||
&& (cd $(OUTPUT) $(MIQ_SYMLINKS))
|
||||
INSTALL.dll= (cd $(PACKAGE_INSTALL.dll) $(MIQ_SYMLINKS)) && $(INSTALL)
|
||||
INSTALL.dll= ($(INSTALL) $(MIQ_DLLNAME) $(PACKAGE_INSTALL.dll) && \
|
||||
cd $(PACKAGE_INSTALL.dll) $(MIQ_SYMLINKS)) && \
|
||||
true
|
||||
LINK.exe= $(LD) $(MIQ_LINKARGS) $(MIQ_LDFLAGS) -o $@
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue