From 296e0a20ca60139ec9f59096f8330a0006804ca0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 12 Aug 2014 16:56:17 +0300 Subject: Some objects in NSS are not in any of the archives Change-Id: I3df4c45d160687f22015f3b3d3c87e655e5cd7d7 --- bin/lo-all-static-libs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin') diff --git a/bin/lo-all-static-libs b/bin/lo-all-static-libs index 75321644211b..1d93afec9868 100755 --- a/bin/lo-all-static-libs +++ b/bin/lo-all-static-libs @@ -44,6 +44,14 @@ IOS) oslibs="$WORKDIR/UnpackedTarball/icu/source/stubdata/*.a" oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/.libs/*.a" oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/nss/.libs/*.a" + + # The NSS dylibs (which we don't build for iOS) are constructed + # from a bunch of static archives and some freestanding object + # files (that are not present in any of the static archives). We + # need the latter too, so collect them here into an archive of + # their own. + ar cr $WORKDIR/UnpackedTarball/nss/nss/lib/ckfw/builtins/out/libLOtemp.a $WORKDIR/UnpackedTarball/nss/nss/lib/ckfw/builtins/out/*.o + # Unfortunately NSS's build mechanism copies each static archive # it constructs to another place, but we don't bother filtering # out duplicates, it shouldn't hurt. -- cgit