]> granicus.if.org Git - sudo/commitdiff
AIX shared libs end in .a, not .so.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 14 Mar 2008 12:11:57 +0000 (12:11 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 14 Mar 2008 12:11:57 +0000 (12:11 +0000)
configure
configure.in

index 3903b4fed7d0ce58eb1f0700a3febbdad316f31f..ed07641fa2c742f4c759e615fe45dc4cef19e425 100755 (executable)
--- a/configure
+++ b/configure
@@ -11946,6 +11946,12 @@ done
 
                fi
 
+               # AIX shared libs use the .a suffix unless run-time linking
+               # is being used (determined by libtool).
+               if test X"$with_noexec" != X"no" && X"$aix_use_runtimelinking" != X"yes"; then
+                   with_noexec=`echo $with_noexec | sed 's/\.so$/.a/'`
+               fi
+
                # AIX-specific functions
 
 for ac_func in getuserattr
index 5ff7b5b5679168ed27ef6f8a9ff2b5b54e323f46..a23592e17c7c2af219125233c1e25937516289cb 100644 (file)
@@ -1332,6 +1332,12 @@ case "$host" in
                    AC_CHECK_FUNCS(authenticate, [AUTH_EXCL_DEF="AIX_AUTH"])
                fi
 
+               # AIX shared libs use the .a suffix unless run-time linking
+               # is being used (determined by libtool).
+               if test X"$with_noexec" != X"no" && X"$aix_use_runtimelinking" != X"yes"; then
+                   with_noexec=`echo $with_noexec | sed 's/\.so$/.a/'`
+               fi
+
                # AIX-specific functions
                AC_CHECK_FUNCS(getuserattr)
                SUDO_OBJS="$SUDO_OBJS aix.o"