Displaying 2 results from an estimated 2 matches for "zzz_ldadd".
2014 May 25
1
make dllimport/dllexport attributes work with mingw (and others)
...c archive.
old_library=''
So libFLAC.la can point either to dynamic or to static library.
*********
Also: your patch adds the following lines to several Makefile.am files:
if OS_IS_WINDOWS
win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la
endif
zzz_LDADD = ... $(win_utf8_lib) ...
On my system win_utf8_io is always a static library and is statically linked
to the libFLAC library, so it's not necessary to explicitly link flac.exe
with libwin_utf8_io.la.
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