On Aug 6, 2:16 am, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:
> byang wrote:
> > Hi ,
>
> >   The now dehydra code link the spidermonkey shared library directly,
> > I mean ,  it just record where the library is, and try to load in a
> > fixed location. And this make the result dehydra only workable on a
> > system where the spidermonkey library should be the same location.
> >   So, I suggest the following change and this will make the Dehydra
> > movable and then I can package it with a cross-compiler toolchain.
>
> The problem with your patch is that we typically use a spidermonkey lib that
> is not in the default search path: e.g. not /usr/lib/libjs.so but
> /builds/mozilla-central/js/src/libjs.so

But my patch is :
+LDFLAGS=  -lm -L$(SM_LIBDIR) -l$(SM_NAME)  $(SHARED_LINK_FLAGS)

There is a -L which point out the search directory and this SM_LIBDIR
is set on config.mk.

Regards!
Bo
_______________________________________________
Dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to