summaryrefslogtreecommitdiff
path: root/packages/popt/popt-1.13/iconv.patch
blob: 4faf4c4a1d1726a2a24aa9738a8628c9f6d8c200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: popt-1.13/Makefile.am
===================================================================
--- popt-1.13.orig/Makefile.am	2007-11-14 20:42:27.000000000 +0000
+++ popt-1.13/Makefile.am	2008-03-26 22:14:05.000000000 +0000
@@ -39,7 +39,7 @@
 usrlib_LTLIBRARIES = libpopt.la
 
 libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c poptint.c
-libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@
+libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@
 
 if HAVE_LD_VERSION_SCRIPT
 libpopt_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libpopt.vers
Index: popt-1.13/configure.ac
===================================================================
--- popt-1.13.orig/configure.ac	2007-11-14 20:42:27.000000000 +0000
+++ popt-1.13/configure.ac	2008-03-26 22:20:16.000000000 +0000
@@ -95,6 +95,7 @@
 AC_CHECK_FUNCS(getuid geteuid mtrace __secure_getenv setregid strerror iconv)
 
 AM_GNU_GETTEXT([external])
+AM_ICONV_LINK
 
 popt_sysconfdir="${sysconfdir}"
 eval "popt_sysconfdir=\"${popt_sysconfdir}\"" # expand contained ${prefix}