diff options
| author | Xin LI <delphij@FreeBSD.org> | 2013-09-26 17:55:36 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2013-09-26 17:55:36 +0000 |
| commit | e4dedeefaeac580b57cbb9349a4ca803f653e64a (patch) | |
| tree | 27e2c0e56bbc04e7840b34f23831a65195589968 | |
| parent | da9442ef43b0d7294005b372848aaca3e883a338 (diff) | |
Notes
| -rw-r--r-- | lib/libarchive/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index ac85bba4120c9..eb3921949931a 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -35,7 +35,9 @@ LDADD+= -lmd .endif .if ${MK_ICONV} != "no" -CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const +# TODO: This can be changed back to CFLAGS once iconv works correctly +# with statically linked binaries. +SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const .endif .if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \ |
