]> granicus.if.org Git - linux-pam/commitdiff
Fix SUBDIRS for --enable-static-modules mode
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 26 Jan 2012 22:24:21 +0000 (22:24 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 26 Jan 2012 22:24:21 +0000 (22:24 +0000)
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

index ca5f7f6e6b2b4060747ea91773a25988a55cb18d..3db4e37abb2431a91f513429432380efa3021584 100644 (file)
@@ -4,11 +4,7 @@
 
 AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
 
-if STATIC_MODULES
-SUBDIRS = modules libpam libpamc libpam_misc tests po conf doc examples xtests
-else
 SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests
-endif
 
 CLEANFILES = *~