mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
Don't try to uninstall the shared libraries unless the directory exists.
Otherwise it fails on OpenBSD during the first installation with:
ldconfig: /usr/local/sw/versions/voc/git/lib: No such file or directory
This commit is contained in:
parent
8d2d479664
commit
7d14452a51
1 changed files with 1 additions and 1 deletions
|
|
@ -189,8 +189,8 @@ installable:
|
|||
|
||||
uninstall: installable
|
||||
@printf '\nUninstalling from \"$(INSTALLDIR)\"\n'
|
||||
@[ -d "$(INSTALLDIR)/lib" ] && sh src/tools/make/addlibrary.sh uninstall "$(INSTALLDIR)/lib" $(ONAME) || echo nolibdir, skipping
|
||||
rm -rf "$(INSTALLDIR)"
|
||||
@sh src/tools/make/addlibrary.sh uninstall "$(INSTALLDIR)/lib" $(ONAME)
|
||||
|
||||
|
||||
# install: Use only after a successful full build. Installs the compiler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue