--- a/configure.ac
+++ b/configure.ac
@@ -186,7 +186,6 @@
 esac
 
 if test x$socks_loc != x; then
-   LDFLAGS="$LDFLAGS -L$socks_loc/lib"
    CPPFLAGS="$CPPFLAGS -I$socks_loc/include"
 fi
 
