Hi, The attached script should do it (at least it works on Linux. You should check the various ar and ranlib commands in the script if you run it on Macs). Ideally we should do this in "make install", which already puts all header/lib files into installation directory tree (the --prefix in configure cmd), so the next step is to combine them into a single lib and fix the system/external library dependency and put it in pkgconfig information. Unfortunately I haven't had time to do it. Best regards, ?Benny On Sat, Oct 2, 2010 at 4:09 AM, Rob Wilkes <wilkrob at gmail.com> wrote: > Hi, > the current PJSIP iphone build process creates a large set of .a files. Is > it possible, instead, just to create a single .a easily? > I tried copying all the generated libs to a folder then used libtool *.a > -static -o libpjsip.a ?. While it generates the .a, when I link it to an > app, I get all sorts of unresolved symbols. OTOH, when I link all the > individual libraries, it works fine (I even tried ar -x *.a then libtool *.o > -static -o libpjsip.a). > (I am using the right libtool - inside the /Developer/etc. directory, not > /usr/bin) > Any thoughts ? > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- A non-text attachment was scrubbed... Name: combinelib.sh Type: application/x-sh Size: 1711 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101002/13aad5d8/attachment.sh>