From a48cb21c5631c2b860ce143e653734df5c6543c8 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sat, 4 Sep 2004 06:43:54 +0000 Subject: [PATCH] Added caveat for MinGW builds --- README.make | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.make b/README.make index 0cf3e5e0..cc96f663 100644 --- a/README.make +++ b/README.make @@ -35,6 +35,13 @@ Caveat correct compilation flags. The related variables in config.mk are CXXFLAGS_SHARED, LDFLAGS_SHARED and SHAREDLIB_SUFFIX. + The build environment does not support building Exiv2 as a DLL + on MinGW. When building on MinGW, you need to unset SHARED_LIBS + and set STATIC_LIBS in config.mk (after running ./configure): + # Define which libraries (shared and/or static) to build + SHARED_LIBS = + STATIC_LIBS = 1 + You should *not* need to modify any Makefile directly. If your compiler uses a repository for object files of templates,