我有一个 C 库,它一直在使用MS Visual C++ Express在 Unix(.so
使用 编译成文件autoconf
)和 Windows(编译成文件)中工作。.dll
我现在想更改它,以便它autoconf
在 Windows 上使用 MinGW/MSYS 而不是 MS Visual C++ Express。
我将此添加到configure.ac
:
LT_INIT([win32-dll])
这要Makefile.am
:
libdickinson_la_LDFLAGS = -no-undefined
并重新运行aclocal
, automake
, 和autoconf
; 但是,当我在 Windows 中尝试时/.configure
,make
我在任何地方都找不到 DLL。
我还需要做什么才能获得 DLL?