summaryrefslogtreecommitdiffstats
path: root/meta/packages/psmisc/files/libintl-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/psmisc/files/libintl-link.patch')
-rw-r--r--meta/packages/psmisc/files/libintl-link.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/psmisc/files/libintl-link.patch b/meta/packages/psmisc/files/libintl-link.patch
new file mode 100644
index 0000000000..d9cdd90d71
--- /dev/null
+++ b/meta/packages/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