--- sqlite-3.7.17.ebuild.old 2013-06-08 17:58:35.572476927 +0200 +++ sqlite-3.7.17.ebuild 2013-06-08 18:00:30.800758509 +0200 @@ -89,6 +89,8 @@ if use icu; then append-cppflags -DSQLITE_ENABLE_ICU + #sqlite will be linked with gcc, but icu is a cpp-library so stdc++ must be added + append-ldflags -Wl,-lstdc++ if amalgamation; then sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" else