xiph / vorbis-tools

Command-line tools for creating and playing Ogg Vorbis files.
GNU General Public License v2.0
75 stars 28 forks source link

MinGW: local libgetopt.a is not needed #4

Open eblanca opened 8 years ago

eblanca commented 8 years ago

I just built vorbis-tools-1.4.0 in Windows environment (all but ogg123) using a recent MinGW (not the latest MinGW-W64). Anyway, the shipped getopt library is no longer needed because it's been a while getopt.h is provided by mingw also, and the standard link library include these functions as well. Further, a compile including the shipped getopt.h generates several warnings due to unmatching argument types in getopt_long, but a compile against the mingw one does not. Of course, I cannot tell whether this shipped getopt module is still needed for Visual Studio or other OSs. Just for you to know.