How to install libstdc++.so.6 for DOSBox in Lutris?

When trying to run a game in Lutris I’m getting this message:

/home/username/.local/share/lutris/runners/dosbox/bin/dosbox: /lib/libstdc++.so.6: version `GLIBCXX_3.4.30’ not found (required by /home/username/.local/share/lutris/runners/dosbox/bin/dosbox)

I’ve tried to fix this by adding pkgs.stdenv.cc.cc.lib to Lutris’s extraLibraries, but that doesn’t seem to help. Removing ~/.local/share/lutris/ and reinstalling also doesn’t help. What gives?