]> granicus.if.org Git - sudo/commitdiff
Remove requirement that libs must begin with "lib". They don't when
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Jan 2004 07:49:50 +0000 (07:49 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Jan 2004 07:49:50 +0000 (07:49 +0000)
we point directly at the lib using LD_PRELOAD or its equivalent.

ltmain.sh

index bb1a83657270765a3c874903bb6206db429268e4..580cac0ae92e7d7497a4203abfb9d239b8105c3f 100644 (file)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -2753,11 +2753,6 @@ EOF
        eval libname=\"$libname_spec\"
        ;;
       *)
-       if test "$module" = no; then
-         $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
-         $echo "$help" 1>&2
-         exit 1
-       fi
        if test "$need_lib_prefix" != no; then
          # Add the "lib" prefix for modules if required
          name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`