From 52710ce5179eef6d94d15df5f39eaec5e7bb0b36 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 14 Mar 2008 12:11:57 +0000 Subject: [PATCH] AIX shared libs end in .a, not .so. --- configure | 6 ++++++ configure.in | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/configure b/configure index 3903b4fed..ed07641fa 100755 --- 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 diff --git a/configure.in b/configure.in index 5ff7b5b56..a23592e17 100644 --- a/configure.in +++ b/configure.in @@ -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" -- 2.40.0