Hi, Is there an option to build a shared version of libplatform? I'm upgrading a project I'm working on from v8 5.3 (with static linking) to 5.4 (with dynamic linking), and I use libplatform. I used to link against libv8_libplatform.a, but now I cannot find an option in gn that automatically generates libv8_libplatform.so. As a workaround, I generate the shared library by hand:
$ cd out.gn/x64.debug $ gcc -shared -o libv8_libplatform.so obj/v8_libplatform/*.o Is there a better way to do this? Thank you very much. Andre On Friday, September 16, 2016 at 2:11:01 AM UTC-3, Jochen Eisinger wrote: > > by default, we build thin archives which are suitable for static linking > against other apps, and yes, you will need the .o files around for that. > > If you'd rather have shared libraries (.so files), set the gn > arg is_component_build = true > > br > -jochen > > On Thu, Sep 15, 2016 at 5:07 PM Travis Sharp <furious...@gmail.com > <javascript:>> wrote: > >> I've followed the current instructions for building v8 with GN on >> https://github.com/v8/v8/wiki/Building%20with%20GN but after further >> inspection it looks as if the build only links the .o output instead of >> creating libraries for use in other applications. >> >> Am I missing a step or is this intended? I am trying to use the output >> library in another application. >> >> V8 Build-Head 5.4, Linux x64 >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com <javascript:> >> 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 v8-users+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.