[patch] libmisc

Lucas Correia Villa Real <[email protected]> Fri, 6 May 2005 14:48:08 -0300
Newsgroups gmane.linux.pld.shadow.general
Organization Shuffle Experiments
Message-ID <[email protected]>
Hi,

KDM (KDE's login manager) is currently looking for libmisc.so, which isn't 
getting installed by default on the current Shadow release. These patches 
makes it possible to get libmisc.{so,a} installed together with the 
static/dynamic Shadow libraries. 

Please excuse me if there's a reason for not getting libmisc installed. Just 
CC: me on replies, as I'm not subscribed to this list.

Cheers,

-- 
Lucas
powered by /dev/dsp
01-libmisc.patch (text/x-diff, 351 B)
--- shadow-4.0.8/libmisc/Makefile.am.orig	2005-04-26 19:39:02.000000000 -0300
+++ shadow-4.0.8/libmisc/Makefile.am	2005-04-26 19:39:44.000000000 -0300
@@ -3,9 +3,9 @@
 
 INCLUDES = -I$(top_srcdir)/lib
 
-noinst_LIBRARIES = libmisc.a
+lib_LTLIBRARIES = libmisc.la
 
-libmisc_a_SOURCES = \
+libmisc_la_SOURCES = \
 	addgrps.c \
 	age.c \
 	basename.c \
02-src_Makefile_am.patch (text/x-diff, 401 B)
--- shadow-4.0.8/src/Makefile.am.orig	2005-04-26 19:45:46.000000000 -0300
+++ shadow-4.0.8/src/Makefile.am	2005-04-26 19:45:59.000000000 -0300
@@ -51,7 +51,7 @@
 suidbins = su
 suidubins = chage chfn chsh expiry gpasswd newgrp passwd
 
-LDADD = $(top_builddir)/libmisc/libmisc.a \
+LDADD = $(top_builddir)/libmisc/libmisc.la \
 	$(top_builddir)/lib/libshadow.la
 
 chpasswd_LDADD = $(LDADD) $(LIBPAM)