shared lib: use all objects.

This commit is contained in:
2023-12-30 11:47:34 +01:00
parent d654b4acde
commit bb8509fc00

View File

@@ -198,7 +198,7 @@ cleanlibdir:
$(DLIB): LDFLAGS += -shared
$(DLIB): $(OBJ) | $(LIBDIR)
@echo "building shared library ($@)."
$(CC) $(CFLAGS) $(LDFLAGS) $? -o $@
@$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
$(SLIB): $(OBJ) | $(LIBDIR)
@echo "building static library ($@)."