search for: dflac__no_dl

Displaying 4 results from an estimated 4 matches for "dflac__no_dl".

Did you mean: dflac__no_dll
2014 May 25
0
make dllimport/dllexport attributes work with mingw (and others)
...the line LT_INIT([win32-dll disable-static pic-only]) --disable-shared can be supported, but that would require some more major surgery: the flac build has a shared configury for both the library and the player, etc apps, therefore for the --disable-shared option to work, the CFLAGS must be added -DFLAC__NO_DLL (I think), but that would complicate the cases where both static and the shared libraries are built. > > (If I use ./configure without arguments then flac.exe requires > libFLAC-8.dll, > which in turn requires libgcc_s_sjlj-1.dll. Adding "--disable-shared" makes > flac.ex...
2014 May 25
2
make dllimport/dllexport attributes work with mingw (and others)
Erik de Castro Lopo wrote: > Ozkan Sezer wrote: > >> My apologies, obviously sent an old testing patch. Correct one is >> attached (declspec2.diff). Compilation tested using MinGW (gcc-3.4.5, >> binutils-2.20), and MinGW-w64 (gcc-4.5.4, binutils-2.21.90.) > > lvqcl, > > Can you please validate this new patch? It works, but only if i call ./configure without
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
...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)/src/share/win_utf8_io/libwin_utf8_io.la endif diff --git a/src/test_seeking/Makefile.am b/src/test_seeking/Makefile.am index 87ddb36..bb7a564 100644 --- a/src/test_seeking/Makefile.am +++ b/src/test_seeking/Makefile.am @@ -25,8 +25,13 @@ AM_CFLAGS = @OGG_CFLAGS@...
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 --------------