[linux-pam] Fix SUBDIRS for --enable-static-modules mode

Dmitry V. Levin ldv at fedoraproject.org
Thu Feb 2 14:07:27 UTC 2012

commit 9e85d7033d3c24f5fd63ecde172b92e61f864844
Author: Dmitry V. Levin <ldv at altlinux.org>
Date:   Thu Jan 26 22:24:21 2012 +0000

    Fix SUBDIRS for --enable-static-modules mode
    There is no way to build "modules" subdirectory before "libpam" anyway.
    In STATIC_MODULES mode, "libpam" subdirectory must be built twice to
    produce a usable libpam.a without undefined references to multiple
    _pam_*_modstruct symbols.
    * Makefile.am: Use default SUBDIRS in STATIC_MODULES mode.

 Makefile.am |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index ca5f7f6..3db4e37 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,11 +4,7 @@
 AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
-SUBDIRS = modules libpam libpamc libpam_misc tests po conf doc examples xtests
 SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests

More information about the linux-pam-commits mailing list