1 @node Libtool and Windows
2 @section Libtool and Windows
4 If you want it to be possible to compile your program for a native Windows
5 platform and you use Libtool, you need to use the @code{win32-dll} option of
6 @code{LT_INIT}. In other words, put:
12 in your @file{configure.ac}. This sets the correct names for the
13 @code{OBJDUMP}, @code{DLLTOOL}, and @code{AS} tools for the build.
15 If you are building a library, you will also need to pass
16 @code{-no-undefined} to make sure Libtool produces a DLL for your
17 library. From a @file{Makefile.am}:
20 libgsasl_la_LDFLAGS += -no-undefined