commit 2bb3d6b794642dac0630207958f3a876a1c72e25
parent 290d94e7cd83f85d1f4d6919181930d53f77852f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 18 Jul 2023 11:26:10 +0200
Fix uninstall Makefile target
It assumed that the library to be deleted was the shared library when it
could be the static library.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -88,7 +88,7 @@ install: build_library pkg
@$(SHELL) make.sh install "$(DESTDIR)$(PREFIX)/share/doc/star-3dut" COPYING README.md
uninstall:
- rm -f $(DESTDIR)$(PREFIX)/lib/libs3dut.so
+ rm -f $(DESTDIR)$(PREFIX)/lib/$(LIBNAME)
rm -f $(DESTDIR)$(PREFIX)/lib/pkgconfig/s3dut.pc
rm -f $(DESTDIR)$(PREFIX)/share/doc/star-3dut/COPYING
rm -f $(DESTDIR)$(PREFIX)/share/doc/star-3dut/README.md