make.lip and additional libraries to link?

sonntag benoit sonntag at icps.u-strasbg.fr
Tue Aug 25 01:58:08 UTC 2009


Jeremy Cowgar <jeremy at cowgar.com> a écrit :

> How do I specify a new library to link with the compiler/make.lip file?
>

Use a dynamic execution lip like unix/video/video.li

Example :
   + name        := VIDEO;

   - copyright   := "2003-2005 Jérome Boutet, 2003-2007 Benoit Sonntag";

   - comment     := "X11 Driver video - Xlib -";

   - lip      <-
   (
     add_lib "-lX11";
   );

If your lib is present (test during compilation, see add_lib function  
in make.lip), option_gcc variable is updated. (else, crash compilation)
The advantage, if you don't use VIDEO prototype, this lib is not linked.

> --
> Jeremy Cowgar <jeremy at cowgar.com>
>
>
> _______________________________________________
> Lisaac-devel mailing list
> Lisaac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel
>




More information about the Lisaac-devel mailing list