From: Gurucharan Shetty Date: Fri, 14 Feb 2014 20:40:56 +0000 (-0800) Subject: cccl: Remove the seemingly wrong "lib" prefix. X-Git-Tag: sliver-openvswitch-2.2.90-1~9^2~31 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=278aa4c5c86b3b50102c3157ca5f7046dc2b4d8b;p=sliver-openvswitch.git cccl: Remove the seemingly wrong "lib" prefix. I have not seen a use case where the "lib" prefix is needed. In my tests, I see that adding the additional "lib" prefix causes libraries to not be recognized. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/build-aux/cccl b/build-aux/cccl index 0c7f3d967..855f1831e 100644 --- a/build-aux/cccl +++ b/build-aux/cccl @@ -97,11 +97,7 @@ EOF -l*) lib=`echo "$1" | sed 's/-l//'` - if [ $lib != "dnsapi" -a $lib != "ws2_32" -a $lib != "wsock32" ]; then - lib="lib$lib.lib" - else - lib="$lib.lib" - fi + lib="$lib.lib" clopt="$clopt $lib" linkopt="$linkopt $lib"