Merge pull request #531 from jin-eld/dll

Also generate a .dll in MinGW builds
This commit is contained in:
irungentoo 2013-08-25 16:28:51 -07:00
commit bc734f974a
2 changed files with 5 additions and 3 deletions

View File

@ -96,6 +96,7 @@ AC_ARG_WITH(libsodium-libs,
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
WIN32=no

View File

@ -34,7 +34,8 @@ libtoxcore_la_CFLAGS = -I$(top_srcdir) \
$(LIBSODIUM_CFLAGS)
libtoxcore_la_LDFLAGS = -version-info $(LIBTOXCORE_VERSION) \
$(LIBSODIUM_LDFLAGS)
libtoxcore_la_LIBS = $(LIBSODIUM_LIBS) \
-no-undefined \
$(LIBSODIUM_LDFLAGS) \
$(WINSOCK2_LIBS)
libtoxcore_la_LIBS = $(LIBSODIUM_LIBS)