summaryrefslogtreecommitdiff
path: root/docs/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/INSTALL.md')
-rw-r--r--docs/INSTALL.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/INSTALL.md b/docs/INSTALL.md
index c5326e8da..7fe3d879a 100644
--- a/docs/INSTALL.md
+++ b/docs/INSTALL.md
@@ -149,6 +149,18 @@ conflicting identical symbol names.
When you build with multiple TLS backends, you can select the active one at
run-time when curl starts up.
+## configure finding libs in wrong directory
+
+When the configure script checks for third-party libraries, it adds those
+directories to the `LDFLAGS` variable and then tries linking to see if it
+works. When successful, the found directory is kept in the `LDFLAGS` variable
+when the script continues to execute and do more tests and possibly check for
+more libraries.
+
+This can make subsequent checks for libraries wrongly detect another
+installation in a directory that was previously added to `LDFLAGS` by another
+library check.
+
# Windows
## Building Windows DLLs and C runtime (CRT) linkage issues