Merge pull request #27 from gonzoua/freebsd_support

Fix iconv detection for FreeBSD
This commit is contained in:
Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 2018-09-07 13:55:09 +08:00 committed by GitHub
commit 72c04fec88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,10 @@ AC_PROG_LN_S
AC_CANONICAL_HOST
case "$host_os" in
freebsd*)
CPPFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib -liconv"
;;
openbsd*)
CPPFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"