Displaying 2 results from an estimated 2 matches for "407c8ea".
Did you mean:
400cea
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
...r)/src/test_libs_common/libtest_libs_common.la \
$(top_builddir)/src/libFLAC++/libFLAC++.la \
$(top_builddir)/src/libFLAC/libFLAC.la \
- @OGG_LIBS@ \
+ $(win_utf8_lib) @OGG_LIBS@ \
-lm
test_libFLAC___SOURCES = \
diff --git a/src/test_libFLAC/Makefile.am b/src/test_libFLAC/Makefile.am
index 407c8ea..5c3d4f1 100644
--- a/src/test_libFLAC/Makefile.am
+++ b/src/test_libFLAC/Makefile.am
@@ -25,6 +25,7 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(
noinst_PROGRAMS = test_libFLAC
if OS_IS_WINDOWS
+AM_CPPFLAGS += -DFLAC__NO_DLL
win_utf8_lib = $(top_builddir)...
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
The following patch changes export.h so that the dllimport/dllexport
attributes work with mingw/mingw-w64 and others:
- changes _declspec keyword to __declspec: the former may not be
defined by some toolchains.
- changes the _MSC_VER condition to universally _WIN32: MSVC, as well
as GCC supports this.
Attached patch: declspec.diff
Regards.
--
O.S.
-------------- next part --------------