Commit graph

3 commits

Author SHA1 Message Date
David Tardon
1118f57582 mingw: avoid hardcoded dll versions and deps
The idea is to use libo_MINGW_CHECK_DLL for libs that must be available
(typically that would be the "main" library, e.g., libxml2 or libcurl)
and libo_MINGW_TRY_DLL for possible dependencies (that may not be the
same on different systems). All further references to the dlls are
exclusively through the configured variables or defines set from these
variables (e.g., instead of hardcoding libxml2-2.dll, use
$(MINGW_LIBXML2_DLL)).

The macros are documented in m4/mingw.m4 .

Files that must be changed when adding a new dll:
* configure.in
* config_host.mk.in
* external/mingw-dlls/makefile.mk
* scp2/source/ooo/makefile.mk
* scp2/source/ooo/mingw_dlls.scp
2012-03-18 21:23:40 +01:00
David Tardon
398721c280 use configured HOST_PLATFORM instread of hardcoded triplet 2012-02-17 15:53:55 +01:00
Jan Holesovsky
19f1697a3f Add forgotten file - makefile for copying the -system dlls.
This should have been part of commit 3927d9bd2a.
2011-10-01 22:04:34 +02:00