summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lo-all-static-libs8
1 files changed, 8 insertions, 0 deletions
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.