Merge pull request #106 from tkurtbond/openbsdinstallfailsldconfig

Don't try to uninstall the shared libraries unless the directory exists.
This commit is contained in:
Norayr Chilingarian 2025-03-13 16:19:38 +04:00 committed by GitHub
commit 812b3a56d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,8 +189,8 @@ installable:
uninstall: installable uninstall: installable
@printf '\nUninstalling from \"$(INSTALLDIR)\"\n' @printf '\nUninstalling from \"$(INSTALLDIR)\"\n'
@[ -d "$(INSTALLDIR)/lib" ] && sh src/tools/make/addlibrary.sh uninstall "$(INSTALLDIR)/lib" $(ONAME) || echo nolibdir, skipping
rm -rf "$(INSTALLDIR)" rm -rf "$(INSTALLDIR)"
@sh src/tools/make/addlibrary.sh uninstall "$(INSTALLDIR)/lib" $(ONAME)
# install: Use only after a successful full build. Installs the compiler # install: Use only after a successful full build. Installs the compiler