On 2013-7-23 07:46 , Ryan Schmidt wrote: > > I'm not sure. Would anything bad happen if: > > Scenario 1 > > a) user installs port foo built with MP 2.1 and thus non-empty > dependency_libs in .la files > b) user installs port bar (that depends on foo) with MP 2.2 and thus empty > dependency_libs in .la files > -> My understanding is this should work fine. > > Scenario 2 > > a) user installs port foo built with MP 2.2 and thus empty dependency_libs in > .la files > b) user installs port bar (that depends on foo) built with MP 2.1 and thus > non-empty dependency_libs in .la files (e.g. from the packages server) > -> Presumably the installation would work, since it's a binary > -> Would the software work?
It would work fine. The value of dependency_libs is only used by dependents at link time. > -> What if the user now installs port baz that depends on bar and has to > build from source? When building baz, libtool would read bar's .la file and add linking to the libs referenced in its dependency_libs. - Josh _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
