c-strtof, c-strtod, c-strtold: Make multithread-safe.
[gnulib.git] / doc / windows-libtool.texi
blob7812559a065c3646303a36257a9e578e47d25a6e
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:
8 @example
9 LT_INIT([win32-dll])
10 @end example
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}:
19 @example
20 libgsasl_la_LDFLAGS += -no-undefined
21 @end example