I am building a dll using MSys and Mingw on windows. The source for project only provides a autogen.sh, configure.ac and makefile.am.
To generate the makefiles, you run autogen.sh then ./configure. I then go and manually add -no-undefined
to the LDFLAGS in the makefile. This is not ideal, during the generation of the makefiles, this LDFLAGS should be set correctly.
Somewhere I have to change a configuration file, so that when the makefiles is generated the LDFLAGS is correctly set.
How do I do that?