On Wed, Jan 18, 2017 at 11:49 PM, kent williams <[email protected]> wrote: > Subject line says it all: > > When I link my app to the v8 library, I have 2 choices: > > 1. Link to the system ICU libraries (ICU v 50 on Centos 7), in which case, > there are undefined references in v8 to icu v58. > 2. Link to v8 versions of ICU library, in which case there are undefined > references to icu v50 from the sqlite library. > > I would configure sqlite to use v8's libraries but it isn't straightforward, > specifically configuring sqlite to add -I for all the directories where icu > headers are located. > > Any suggestions? All I can come up with is an unacceptable solution: turning > off il8n in either v8 or sqlite. > > > Bonus points if you can tell me how to use a gn build that permits static > linking ;-)
I can't tell you how to do it with GN (I still use GYP) but I'd probably rig the build so each library links privately to its version of ICU, see [0] for an example. V8 doesn't re-export ICU symbols, and neither does sqlite as far as I know, so it should be reasonably straightforward. [0] http://stackoverflow.com/questions/228117/loading-multiple-shared-libraries-with-different-versions -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
