Skip to content

Commit fe32a79

Browse files
committed
build: pass win32-dll to LT_INIT
This is the recommended way to support building PE DLLs with modern mingw toolchains and libtool. > This option should be used if the package has been ported to build clean > dlls on win32 platforms. > If this macro is not used, libtool will assume that the package libraries > are not dll clean and will build only static libraries on win32 hosts. See: https://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT https://www.gnu.org/software/gnulib/manual/html_node/Libtool-and-Windows.html https://autotools.io/libtool/windows.html
1 parent fecf436 commit fe32a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AH_TOP([#define LIBSECP256K1_CONFIG_H])
88
AH_BOTTOM([#endif /*LIBSECP256K1_CONFIG_H*/])
99
AM_INIT_AUTOMAKE([foreign subdir-objects])
1010

11-
LT_INIT
11+
LT_INIT([win32-dll])
1212

1313
# Make the compilation flags quiet unless V=1 is used.
1414
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

0 commit comments

Comments
 (0)