Next: , Up: Native Windows Support   [Contents][Index]

14.1 Libtool and Windows

If you want it to be possible to compile your program for a native Windows platform and you use Libtool, you need to use the win32-dll option of LT_INIT. In other words, put:


in your This sets the correct names for the OBJDUMP, DLLTOOL, and AS tools for the build.

If you are building a library, you will also need to pass -no-undefined to make sure Libtool produces a DLL for your library. From a

libgsasl_la_LDFLAGS += -no-undefined