How to add shared libraries (or Windows DLLs) as artifacts in CI?

In my case it’s SDL2. I would like to download a ready artifacts archive with the shared libraries.

Here’s my current gitlab-ci.yml file.
image: gcc

build:
  stage: build
  before_script:
    - apt update && apt -y install make libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
  script:
    - make
  artifacts:
    paths:
      - tmrp
  cache:
    paths:
      - "*.o"

Can I maybe add strings such as “/usr/lib/libSDL2.so” into the artifacts list? How would I do it if I was using a cross-compiler such as MinGW?