File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -2402,16 +2402,20 @@ sharedinstall: all
24022402 else true; \
24032403 fi; \
24042404 done
2405- @for i in X $(SHAREDMODS); do \
2406- if test $$i != X; then \
2407- echo $(INSTALL_SHARED) $$i $(DESTSHARED)/`basename $$i`; \
2408- $(INSTALL_SHARED) $$i $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
2409- if test -d "$$i.dSYM"; then \
2410- echo $(DSYMUTIL_PATH) $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
2411- $(DSYMUTIL_PATH) $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
2412- fi; \
2413- fi; \
2414- done
2405+ @for i in X $(SHAREDMODS); do \
2406+ if test $$i != X; then \
2407+ if test ! -f $$i; then \
2408+ echo "Skipping installation of $$i because it was not built."; \
2409+ continue; \
2410+ fi; \
2411+ echo $(INSTALL_SHARED) $$i $(DESTSHARED)/`basename $$i`; \
2412+ $(INSTALL_SHARED) $$i $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
2413+ if test -d "$$i.dSYM"; then \
2414+ echo $(DSYMUTIL_PATH) $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
2415+ $(DSYMUTIL_PATH) $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
2416+ fi; \
2417+ fi; \
2418+ done
24152419
24162420# Install the interpreter with $(VERSION) affixed
24172421# This goes into $(exec_prefix)
You can’t perform that action at this time.
0 commit comments