SDL-2: enable-static=no seems busted


I’ve noticed that configuring SDL-2 with --enable-static=no results in
build failure:

libtool: link: ( cd “build/.libs” && rm -f “” && ln -s
"…/" “” )
/bin/sh ./libtool --mode=compile cc -g -DUSING_GENERATED_CONFIG_H
-Iinclude -I…/SDL-2/include -D_REENTRANT -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -D_REENTRANT -c
…/SDL-2/src/main/dummy/SDL_dummy_main.c -o build/SDL_dummy_main.o
libtool: compile: cc -g -DUSING_GENERATED_CONFIG_H -Iinclude
-I…/SDL-2/include -D_REENTRANT -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -D_REENTRANT -c
…/SDL-2/src/main/dummy/SDL_dummy_main.c -KPIC -DPIC -o
ar cru build/libSDL2main.a build/SDL_dummy_main.o
ar: cannot open build/SDL_dummy_main.o: No such file or directory
ar: build/SDL_dummy_main.o not found

I haven’t traced down the cause yet, but I suspect that unlike SDL-1.2,
the configure/Makefile is being a bit overzealous about not building