From: Todd C. Miller Date: Mon, 18 Mar 2013 14:15:48 +0000 (-0400) Subject: Only create static helper libs when --disable-shared is specified. X-Git-Tag: SUDO_1_8_7~1^2~164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eef31be22a4a90c3c8e34bb728944d84a2300694;p=sudo Only create static helper libs when --disable-shared is specified. --- diff --git a/configure b/configure index 9918b302f..7bfe2b552 100755 --- a/configure +++ b/configure @@ -13678,6 +13678,7 @@ if test "$enable_shared" = "no"; then lt_cv_dlopen=none lt_cv_dlopen_libs= ac_cv_func_dlopen=no + LT_LDFLAGS=-static else eval _shrext="$shrext_cmds" # Darwin uses .dylib for libraries but .so for modules diff --git a/configure.in b/configure.in index c65198799..ea708b0ac 100644 --- a/configure.in +++ b/configure.in @@ -1484,6 +1484,7 @@ if test "$enable_shared" = "no"; then lt_cv_dlopen=none lt_cv_dlopen_libs= ac_cv_func_dlopen=no + LT_LDFLAGS=-static else eval _shrext="$shrext_cmds" # Darwin uses .dylib for libraries but .so for modules