mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Also generate a .dll in MinGW builds
Previously only static a static library was produced on MinGW builds, this PR makes sure that we also build a proper .dll
This commit is contained in:
parent
b4c358de29
commit
634a67f627
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user