Stationary solutions to the compressible Navier–Stokes system with general boundary conditions