--- autotools-utils.eclass 2012-02-04 09:31:14.000000000 +0000 +++ /tmp/0 2012-04-11 20:45:06.439709678 +0100 @@ -411,8 +411,17 @@ # Handle static-libs found in IUSE, disable them by default if in_iuse static-libs; then + if tc-is-static-only; then + econfargs+=( + --disable-shared + ) + else + econfargs+=( + --enable-shared + ) + fi + econfargs+=( - --enable-shared $(use_enable static-libs static) ) fi