Shortcut Virus: What's the effect on a Mac?
A shortcut to itself is not an issue. One on the flash drive will not cause issues when connected to macOS or even when interacted with.

As an example, you'll find a ‘recursive’ link already in macOS: /Volumes/Macintosh HD → /.