summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api-notes/win32_build_on_cygwin_using_mingw.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/api-notes/win32_build_on_cygwin_using_mingw.txt b/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
index f754b18d..db2a09a5 100644
--- a/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
+++ b/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
@@ -68,10 +68,16 @@ install PCRE:
cd pcre-8.12
export CFLAGS="-mno-cygwin"
export CXXFLAGS="-mno-cygwin"
- ./configure --prefix=/usr/i686-pc-mingw32
+ ./configure --prefix=/usr/i686-pc-mingw32 --disable-shared
make
make install
+Note: we must disable shared libraries on Windows because otherwise
+libpcreposix.a is built to depend on libpcre.dll, even if you define
+PCRE_STATIC, and since /usr/i686-pc-mingw32/bin (the location of the DLL)
+is not normally on the PATH, the DLL can't be found, which stops you
+from running any executables.
+
== Readline (Optional) ==
Readline enables editing and completion of commands in bbackupquery.