summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Protzenko <Jonathan.Protzenko@ens-lyon.org>2011-12-21 15:56:10 +0000
committerJonathan Protzenko <Jonathan.Protzenko@ens-lyon.org>2011-12-21 15:56:10 +0000
commit253e88bc67dc630a7a5dcbccb3346b5c02cd3e58 (patch)
treed136944983dd937a739c9a62ddcb49d74d876db0
parent19e2bca8ea639e0ce14a2b7f57ef05266c1633be (diff)
Fix #5393: make sure -R is only passed to the linker with a BSD that has a BSD userland
Patch by: Stéphane Glondu <stephane@glondu.net> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11925 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index af1d4430e..1539301f7 100755
--- a/configure
+++ b/configure
@@ -1325,6 +1325,7 @@ do
else
x11_libs="-L$dir"
case "$host" in
+ *-kfreebsd*-gnu) x11_link="-L$dir -lX11";;
*-*-*bsd*) x11_link="-R$dir -L$dir -lX11";;
*) x11_link="-L$dir -lX11";;
esac