[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.3.6 Direct Linking

If you plan to link your program directly to `libguile', it will probably make sense to link `libmu_scm' directly as well. The arguments to the program loader may be obtained by running

 
mailutils-config --link guile

See section 3.16 mailutils-config -- Get the Information about the Mailutils Build, for more information about this utility.

Here is a sample Makefile fragment:

 
MU_LDFLAGS=`mailutils-config --link guile`
MU_INCLUDES=`mailutils-config --include`

myprog: myprog.c
        $(CC) -omyprog $(CFLAGS) $(MU_INCLUDES) myprog.c $(MU_LDFLAGS)



This document was generated by Sergey Poznyakoff on December, 23 2004 using texi2html