]> granicus.if.org Git - sudo/commitdiff
Only create static helper libs when --disable-shared is specified.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Mar 2013 14:15:48 +0000 (10:15 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Mar 2013 14:15:48 +0000 (10:15 -0400)
configure
configure.in

index 9918b302fabf24c6d4205497740fa9a5526729e2..7bfe2b55241b1e9522877d54e5c2381e75eb84f5 100755 (executable)
--- 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
index c65198799466ee0b41d7b8a54fa9dabc817cd2c9..ea708b0ac5e58f82edc3aaf42d0a22e181d5eaa6 100644 (file)
@@ -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