Yaakov: JonY needs to suppress the "libtool fixup" postinstall step when packaging the mingw64 gcc. He may or may not need to fixup his .la files, BUT -- given that we're talking about gcc here, AND his cross compiler goes somewhere other than /usr...it's likely that whatever "fixing up" he needs to do, will be specific to that package and likely unable to re-use the more generic fixup code.
How about this patch? It seems to work and solves that particular issue for mingw64-gcc. -- Chuck
diff --git a/lib/src_postinst.cygpart b/lib/src_postinst.cygpart index 6160a56..1b4f581 100644 --- a/lib/src_postinst.cygpart +++ b/lib/src_postinst.cygpart @@ -544,6 +544,12 @@ __prep_libtool_modules() { dependency_libs weak_library_names current age revision \ installed shouldnotlink dlopen dlpreopen libdir + if defined _CYGPORT_RESTRICT_postinst_libtool_modules_ + then + inform "Skipping fix libtool modules step per request."; + return 0; + fi + pushd ${D} ltlibs="$(find * -name '*.la')"
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple