summaryrefslogtreecommitdiff
path: root/modules/pam_xauth/Makefile.am
diff options
context:
space:
mode:
authorTomas Mraz <tm@t8m.info>2009-10-29 15:26:50 +0000
committerTomas Mraz <tm@t8m.info>2009-10-29 15:26:50 +0000
commit2abb3dfa9a3ec4934217c594b7d3edcb43716a16 (patch)
treed579b2c7f7de63326d948498308d890f3d9b3c91 /modules/pam_xauth/Makefile.am
parent0d0218cc1cae724073a6f93de4d133049b359a81 (diff)
Relevant BUGIDs: rhbz#531530
Purpose of commit: bugfix Commit summary: --------------- 2009-10-29 Tomas Mraz <t8m@centrum.cz> * modules/pam_xauth/Makefile.am: Link with libselinux. * modules/pam_xauth/pam_xauth.c(pam_sm_open_session): Call setfscreatecon() if selinux is enabled to create the .xauth file with the right label. Original idea by Dan Walsh.
Diffstat (limited to 'modules/pam_xauth/Makefile.am')
-rw-r--r--modules/pam_xauth/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_xauth/Makefile.am b/modules/pam_xauth/Makefile.am
index 816d50e9..db089adb 100644
--- a/modules/pam_xauth/Makefile.am
+++ b/modules/pam_xauth/Makefile.am
@@ -17,7 +17,7 @@ secureconfdir = $(SCONFIGDIR)
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include
AM_LDFLAGS = -no-undefined -avoid-version -module \
- -L$(top_builddir)/libpam -lpam
+ -L$(top_builddir)/libpam -lpam @LIBSELINUX@
if HAVE_VERSIONING
AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
endif