diff --git a/packages/devel/elfutils/package.mk b/packages/devel/elfutils/package.mk index 0a0977fe8c..830df56e69 100644 --- a/packages/devel/elfutils/package.mk +++ b/packages/devel/elfutils/package.mk @@ -40,6 +40,14 @@ PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \ --without-bzlib \ --without-lzma" +pre_configure_host() { + HOST_CONFIGURE_OPTS=$(echo ${HOST_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||") +} + +pre_configure_target() { + TARGET_CONFIGURE_OPTS=$(echo ${TARGET_CONFIGURE_OPTS} | sed -e "s|--disable-static||" -e "s|--enable-shared||") +} + post_makeinstall_target() { # don't install progs into sysroot rm -fr ${SYSROOT_PREFIX}/usr/bin