Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > b97b431312a701e433ad0279d91657e5 > files > 3

ocaml-3.10.0-4mdv2008.0.src.rpm

--- ocaml-3.04/tools/ocamlmklib.mlp.pix	Tue Dec 11 06:59:59 2001
+++ ocaml-3.04/tools/ocamlmklib.mlp	Thu Dec 13 14:04:36 2001
@@ -82,7 +82,7 @@
     else if starts_with s "-L" then
      (c_opts := s :: !c_opts;
       let l = chop_prefix s "-L" in
-      if not (Filename.is_relative l) then rpath := l :: !rpath)
+      if not (Filename.is_relative l || l = "/usr/X11R6/lib" || l = "/usr/X11R6/lib64") then rpath := l :: !rpath)
     else if s = "-ocamlc" then
       ocamlc := next_arg ()
     else if s = "-ocamlopt" then