Next: Dynamic Linking, Previous: Other Functions, Up: libmu_scm
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 mailutils-config, 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)