[ovs-dev] [PATCH] cccl: Remove the seemingly wrong "lib" prefix.

Gurucharan Shetty shettyg at nicira.com
Wed Feb 26 19:13:23 UTC 2014


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 at nicira.com>
---
 build-aux/cccl |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/build-aux/cccl b/build-aux/cccl
index 0c7f3d9..855f183 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"
-- 
1.7.9.5




More information about the dev mailing list