The problem was with one or both of the CFLAGS
or LDFLAGS
env vars. I explicitly set them to:
export CFLAGS="-arch arm64 `pkg-config --static --cflags glfw3 glew`"
export LDFLAGS="-arch arm64 `pkg-config --static --libs glfw3 glew`"
and now it runs!