summaryrefslogtreecommitdiff
path: root/bin/lo-all-static-libs
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-12 16:56:17 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-12 17:04:15 +0300
commit296e0a20ca60139ec9f59096f8330a0006804ca0 (patch)
tree44e290c0a87775fba6955559937f5b7012b454f1 /bin/lo-all-static-libs
parentd308eda13dc2168d166e51ec55e1655fb546f3f1 (diff)
Some objects in NSS are not in any of the archives
Change-Id: I3df4c45d160687f22015f3b3d3c87e655e5cd7d7
Diffstat (limited to 'bin/lo-all-static-libs')
-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.