Oh, I got it.
We should use it like this:

  'link_settings': {
    'libraries': [
        '-Lfull_path -l*',
    ],
  },

On Monday, September 22, 2014 2:49:32 PM UTC+8, Liu Xiao wrote:
>
> Thank you very much.
>
> I have tried in gyp file:
>
>    'cflags': [
>       '-L/fullpath',
>       '-l*',
>     ],
>
> But it dosen‘t work.
>
> On Monday, September 22, 2014 1:05:24 PM UTC+8, Flying Jester wrote:
>>
>> You should ask on the Chromium (or very maybe the V8-dev) lists.
>>
>> It will likely involve understanding how to write GYP files. Which is 
>> kind of a mess, especially in Chrome and V8.
>>
>> On Sunday, September 21, 2014 8:52:58 PM UTC-8, Liu Xiao wrote:
>>>
>>> Dear all:
>>>
>>> I'm sorry, it isn't a v8 specified topic, but I really need your help.
>>>
>>> Now I want to use a static library lib*.a in Chromium project, but how 
>>> to link  it .
>>>
>>> For example,  I will use it normally as follow:
>>>     gcc test.c -L(path) -l*
>>>
>>> But in chromium project how to add it ?
>>>
>>> Thank you very much.
>>>
>>

-- 
-- 
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.

Reply via email to