Commit 8b23a4cf authored by Allison Karlitskaya's avatar Allison Karlitskaya

libpwquality: expand LIBINTL link patch

The programs use gettext as well and therefore should be directly linked.  I'm
not sure why this wasn't a problem before.
parent 5e8a6e72
......@@ -17,10 +17,24 @@ diff -r -u libpwquality-1.2.2/src/Makefile.am libpwquality-1.2.2+/src/Makefile.a
pam_pwquality_la_SOURCES = pam_pwquality.c
else
pam_pwquality_la_LDFLAGS =
@@ -41,11 +41,11 @@
pwscore_SOURCES = pwscore.c
-pwscore_LDADD = libpwquality.la
+pwscore_LDADD = libpwquality.la $(LIBINTL)
pwmake_SOURCES = pwmake.c
-pwmake_LDADD = libpwquality.la
+pwmake_LDADD = libpwquality.la $(LIBINTL)
lib_LTLIBRARIES = libpwquality.la
diff -r -u libpwquality-1.2.2/src/Makefile.in libpwquality-1.2.2+/src/Makefile.in
--- libpwquality-1.2.2/src/Makefile.in 2013-06-19 11:41:37.000000000 -0400
+++ libpwquality-1.2.2+/src/Makefile.in 2014-03-05 22:38:01.938157558 -0500
@@ -308,12 +308,12 @@
@@ -308,18 +308,18 @@
libpwquality_la_LDFLAGS = -no-undefined $(libpwquality_version_script) \
-version-info @PWQUALITY_LT_CURRENT@:@PWQUALITY_LT_REVISION@:@PWQUALITY_LT_AGE@
......@@ -35,3 +49,11 @@ diff -r -u libpwquality-1.2.2/src/Makefile.in libpwquality-1.2.2+/src/Makefile.i
@HAVE_PAM_FALSE@pam_pwquality_la_SOURCES =
@HAVE_PAM_TRUE@pam_pwquality_la_SOURCES = pam_pwquality.c
pwscore_SOURCES = pwscore.c
-pwscore_LDADD = libpwquality.la
+pwscore_LDADD = libpwquality.la $(LIBINTL)
pwmake_SOURCES = pwmake.c
-pwmake_LDADD = libpwquality.la
+pwmake_LDADD = libpwquality.la $(LIBINTL)
lib_LTLIBRARIES = libpwquality.la
@HAVE_PAM_FALSE@securelib_LTLIBRARIES =
@HAVE_PAM_TRUE@securelib_LTLIBRARIES = pam_pwquality.la
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment