mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
Merge pull request #106 from tkurtbond/openbsdinstallfailsldconfig
Don't try to uninstall the shared libraries unless the directory exists.
This commit is contained in:
commit
812b3a56d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue