summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2016-02-02 11:51:18 +0000
committerume <ume@FreeBSD.org>2016-02-02 11:51:18 +0000
commit08d60f77fad33862cdb65c438131e126658af325 (patch)
tree3dcee1a540f4194e2aa14e0e8055f5bf516aace3 /bin
parent2dd3f93a4bbeb8931ca56f139ef169319ae075c2 (diff)
downloadFreeBSD-src-08d60f77fad33862cdb65c438131e126658af325.zip
FreeBSD-src-08d60f77fad33862cdb65c438131e126658af325.tar.gz
Make dynamic link of libiconv from ports work again.
The symbols of libiconv from ports were changed to have prefixed. Since we have iconv in our libc these days, we don't need it on 10.X and later. However, 9.X still need this. Spotted by: Yoshihiko Sarumaru MFC after: 1 days
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/iconv_stub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/iconv_stub.c b/bin/csh/iconv_stub.c
index d1a9e47..e20608c 100644
--- a/bin/csh/iconv_stub.c
+++ b/bin/csh/iconv_stub.c
@@ -36,9 +36,9 @@
#undef iconv_close
#define ICONVLIB "libiconv.so"
-#define ICONV_ENGINE "iconv"
-#define ICONV_OPEN "iconv_open"
-#define ICONV_CLOSE "iconv_close"
+#define ICONV_ENGINE "libiconv"
+#define ICONV_OPEN "libiconv_open"
+#define ICONV_CLOSE "libiconv_close"
typedef iconv_t iconv_open_t(const char *, const char *);
OpenPOWER on IntegriCloud