cygwin/mingw shared libs need libtool LDFLAGS = -no-undefined otherwise only static libs are created.