Permalink
Browse files

[fix] windows,configure: remove \r from a path during caml lib detection

  • Loading branch information...
Rudy Sicard authored and OpaOnWindowsNow committed Oct 31, 2012
1 parent 562e363 commit 8e18f40277cc5241722f1648b893f8ebb41e5faa
Showing with 1 addition and 0 deletions.
  1. +1 −0 configure
View
@@ -589,6 +589,7 @@ locate-ocaml-lib () {
if [ -n "$OCAMLFIND" ] &&
LIBDIR=$("$OCAMLFIND" query "$LIB" 2>/dev/null)
then
+ LIBDIR=$(echo $LIBDIR | sed s/\\r//g)
LIB=$(check-cmxa $LIBDIR $LIB "${LIB_NAMES[@]}") || return 1
echo-ok -n "ocamlfind:$LIBDIR, "
elif [ -d "$OCAMLLIB"/"$USUAL_DIR" ]

0 comments on commit 8e18f40

Please sign in to comment.