commit 9377e8398ff454dad3d4c6b62d48469df417921c
parent 99629b28d293c2dd755308ebf2f714c48c652f5e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sun, 30 Mar 2025 12:21:13 +0200
core: clean static and shared libraries
The Makefile clean target now deletes static and shared versions of the
core library, regardless of the value of the LIB_TYPE macro. This
prevents an old shared library from being used instead of the static
library that has been defined as the one to be built and used. In fact,
the pkg-config utility would prefer its shared version, even if the
--static option is used.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.core b/Makefile.core
@@ -155,6 +155,6 @@ uninstall:
rm -f "$(DESTDIR)$(LIBPREFIX)/$(LIBNAME)"
clean:
- rm -f $(LIBNAME) $(OBJ) $(DEP)
+ rm -f $(LIBNAME_SHARED) $(LIBNAME_STATIC) $(OBJ) $(DEP)
rm -f libhtrdr-core.o .config_core htrdr-core.pc
rm -f src/core/htrdr_args.h src/core/htrdr_version.h