X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build-aux%2Fcccl;h=0c7f3d967c06a231c2d08df42b9071ca55854f79;hb=bdd534291ff72077390f7b1745c4443ad3833d99;hp=7914b4061f39c85dbb20f7811aadedf0119d843c;hpb=57cfcebdf168d18549c888acf63b521991ba6c4e;p=sliver-openvswitch.git diff --git a/build-aux/cccl b/build-aux/cccl index 7914b4061..0c7f3d967 100644 --- a/build-aux/cccl +++ b/build-aux/cccl @@ -91,7 +91,8 @@ EOF -L*) path=`echo "$1" | sed 's/-L//'` - linkopt="$linkopt /LIBPATH:$path" + linkopt="$linkopt ${slash}LIBPATH:\"$path\"" + cl_linkopt="${slash}link ${slash}LIBPATH:\"$path\"" ;; -l*) @@ -188,7 +189,7 @@ fi # choose which opts we built up based on which program will actually run if test x$prog = xcl ; then - opts=$clopt + opts="$clopt $cl_linkopt" else opts=$linkopt fi