summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/psmisc/files/libintl-link.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-extended/psmisc/files/libintl-link.patch
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/psmisc/files/libintl-link.patch')
-rw-r--r--meta/recipes-extended/psmisc/files/libintl-link.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/psmisc/files/libintl-link.patch b/meta/recipes-extended/psmisc/files/libintl-link.patch
new file mode 100644
index 0000000000..d9cdd90d71
--- /dev/null
+++ b/meta/recipes-extended/psmisc/files/libintl-link.patch
@@ -0,0 +1,29 @@
1uClibc needs to link against an external libintl but it doesn't do this by
2default. The configure script correctly figures out if this is needed, but
3doesn't actually link to the libraries it decides on. This makes it link to
4them if they are needed:
5
6--- psmisc-22.2/src/Makefile.am 2006/06/28 00:14:07 1.1
7+++ psmisc-22.2/src/Makefile.am 2006/06/28 00:14:24
8@@ -5,15 +5,19 @@
9
10 oldfuser_SOURCES = oldfuser.c comm.h signals.c signals.h loop.h i18n.h
11
12+oldfuser_LDADD = @INTLLIBS@
13+
14 fuser_SOURCES = fuser.c comm.h signals.c signals.h i18n.h fuser.h
15
16+fuser_LDADD = @INTLLIBS@
17+
18 killall_SOURCES = killall.c comm.h signals.c signals.h i18n.h
19
20-killall_LDADD = @SELINUX_LIB@
21+killall_LDADD = @SELINUX_LIB@ @INTLLIBS@
22
23 pstree_SOURCES = pstree.c comm.h i18n.h
24
25-pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@
26+pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@ @INTLLIBS@
27
28 BUILT_SOURCES = signames.h
29