cccl: Remove the seemingly wrong "lib" prefix.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 14 Feb 2014 20:40:56 +0000 (12:40 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 26 Feb 2014 20:32:50 +0000 (12:32 -0800)
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 <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
build-aux/cccl

index 0c7f3d9..855f183 100644 (file)
@@ -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"