linux - Make link_settings global in gyp project -


I have more than one gyp files, most of which create static libraries and main gyp files, all of which are exectuable. I wanted to link libraries dynamically and I am using the following in my main gyp file:

  'link_settings': {' library ': [' -lgcc ',' -lc ',' -lm '],  

But when I start running my Linux box in Ubuntu, then to compile all static libraries, MessieFile LIBS: = Main The GPP file is empty except executable. Is there any way I can make these link_settings global so they can join the makefiles of every goal?

Update: Will all this work in the main goal by adding library to settings?


Comments