summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-03-01 00:31:31 +0000
committerChris Wilson <chris+github@qwirx.com>2011-03-01 00:31:31 +0000
commit19b977c032c9b1cd5d7bbc620e2100645d42557b (patch)
treee1b121cc0c837dd8c664859742e9da26a8c37ba7 /docs
parent62275096bd32966c702cc47127eaa6312f59b48b (diff)
Instruct to build PCRE with shared libs disabled, to avoid dependency
on DLL in a directory not in the path.
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.